If by mistake we MOVE a working storage variable into
LINKAGE area. What will happen??
Answers were Sorted based on User's Feedback
Answer / rekha
at compilation time only it will give a warning message that
the variable or data item that did not have a addressability
if you ignore the warning message and proceeds with runcobol
then it will produce a S0C4 error message.
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / hari
The problems outcome may be different.
A few cases where i found this reason, the problem that was
occuring was a SOC4 Abend.
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / manasamurari
mismatch of sending variables will lead to soc4 abend
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / dharma
If we pass the value of working storage variable to LInkage
variable and that variable uses as input to the another sub
program nothing will happen.
| Is This Answer Correct ? | 8 Yes | 3 No |
consider the following FD FILE-1 01 REC-1 PIC X(80) ...... WORKING-STORAGE SECTION 01 W-REC PIC X(90) ........ PROCEDURE DIVISION FIRST-PARA ....... READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG which of the following is true with respect to the above? a.REC-1 will contain nothing and W-REC will contain the contains of the record read b.REC-1 and W-REC contain the same data c.syntex is invalid and error will occur d.REC-1 and W-REC must be of same size
what is the diff b/w select stsmt and cursor ?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?
what is filler and what is use of filler
what is soc7 abend?how u can trace it?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
How to read the last 100 records from a COBOL file. The file contains N number of records.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is SSRANGE, NOSSRANGE ?
what is s013u000 for?
Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?