Should I use STOP RUN in the sub program??why?
Answer Posted / narasimha reddy.k
If STOP RUN is used in the sub program, execution will
terminate there itself and it will never come to main
program. Thats why we have to use EXIT PROGRAM or GOBACK in
the sub programs.
Normally, we will code STOP RUN only in main programs not
in sub programs.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you reference the fixed block file formats from cobol programs
What are the pertinent COBOL commands?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What are 77 levels used for?
Can a Search can be done on a table with or without Index?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the Purpose of Pointer in the string?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
how do you reference the rrds file formats from cobol programs
What is the LINKAGE SECTION used in COBOL?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Are you comfortable in cobol or jcl?
What type of SDLC u followed? Why?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how to refer the data field?