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 |
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
COMP?
What is the difference between write & move in COBOL?
At the minimum, which division of COBOL is enough to be coded?
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?
7 Answers Bank Of America, Mind Tree,
Can 88 level variable be declared in FD section..?
how can we fetch 3 records in cobol pgm any coding pls ?
what is jcl approach for programming?
What is the difference between comp and comp-3?
9(2).99 how many bytes take? Why . consider as a byte?