What are the functions like c or c++ in cobol?
Answers were Sorted based on User's Feedback
Answer / jagadesh
Procedures (proc) is the function like c or c++ in cobol
| Is This Answer Correct ? | 0 Yes | 1 No |
what is filler and what is use of filler
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error
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 move a value to an array using move verb?
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is ASKTIME, SUSPEND
File status must be checked both while opening and reading the file or only while reading the file?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?