Should I use STOP RUN in the sub program??why?
Answer Posted / suresh ramaiyan
If we use STOP RUN in the sub program, in sub program
itself will terminate the execution and the control will
not come back to the calling program or main program.
Instead we can use "EXIT PROGRAM". This command will pass
the control to main program.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to remove 2 duplicate records and copy only one using job control language?
How do we get current date from system with century in COBOL?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
what is difference between cobol and cobol/400
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the different rules to perform a Search?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is static and dynamic call in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What kind of error is trapped by on size error option?
What is perform what is varying?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the usage of comp fields in cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
what are decleratives in cobol?