In a COBOL II PERFORM statement, when is the conditional
tested, before or after the perform execution?
Answers were Sorted based on User's Feedback
Answer / shubha
here Before is default,but if After is mentioned then
condition will be checked after perform execution.
| Is This Answer Correct ? | 13 Yes | 0 No |
What is the difference between CALL BY VALUE and CALL BY CONTENT?
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
what is the difference between perform varying and perform until
how do you reference the fixed unblock file formats from cobol programs
how can you identify wheather the program is using search or search all in the cobol program?
how can we code index in an array of cobol pgm?
how to change picture class of copy book variable inside program?
how can we fetch 3 records in cobol pgm any coding pls ?
wht do u mean by (*,intrdr) wht is * used for ?
where will u code file status ?
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast