When would you use in-line perform?
Answers were Sorted based on User's Feedback
Answer / jana.gadi
we can use in-line perform in the case if the body of the
perform will not be used in any other place of the program
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / lenin
If you want the code to be executed only once, use inline
perform. SO the codes should be enclosed by perform and End-
Perform.
Is This Answer Correct ? | 1 Yes | 2 No |
what is rediffine clause?in what situation it can use?give me real time example?
how to resolve the file status 47.......
What is Control Break processing ?
why we are using set in searchall?
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
What is a SSRANGE and NOSSRANGE?
What are the functions like c or c++ in cobol?
how will u pass dadta to cobol+db2 program...?
How do you submit JCL via a Cobol program?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
how many bytes does s9(7)COMP-3 field occupies?
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 ?