How do you define a variable of COMP-1? COMP-2?
Answers were Sorted based on User's Feedback
Answer / pal
77 A COMP-1.
77 B COMP-2.
because we can't use PIC clause in comp-1 & comp-2
Is This Answer Correct ? | 42 Yes | 8 No |
Answer / paddu
01 a usage comp-1.
01 b usage cpmp-2.
this way to define
Is This Answer Correct ? | 12 Yes | 1 No |
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
Discuss about changing dataset name in proc.
What is the Purpose of Pointer in the string?
what is the advantage of sync class
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
How do you submit JCL via a Cobol program?
Can we move X(9) to 9(9). If yes what are the ways for doing this?
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
When would you use in-line perform?
what is the difference b/w level no.01 & level no.77?
what is search and searchall?what is the diffrence between them?give an best example?