Should I use STOP RUN in the sub program??why?
Answer Posted / veni
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 only GOBACK in the sub
programs.
Normally, we will code STOP RUN only in main programs not
in sub programs.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
how do you reference the fixed unblock file formats from cobol programs
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the LINKAGE SECTION used in COBOL?
explain sorting techniques in cobol program?
What are declaratives and what are their uses in cobol?
What is static and dynamic call in cobol?
How arrays can be defined 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.
How you can read the file from bottom?
Why did you choose to work with ibm mainframe cobol programming?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Write a program that uses move corresponding.
What is the use of intialize verb?
How can you get the ksds file records into your cobol program?
What do you understand by psb and acb?