Should I use STOP RUN in the sub program??why?

Answer Posted / sharath

we cant use stoprun in sub program bec. if we use stoprun
in sub program control automatically goes to subprogram OS.
here we want Control goes to main program.so we are using
Goback or exit

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to know whether the module is dynamical or statistical?

666


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1915


What is the difference between perform … with test after and perform … with test before?

895


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

641


How many sections are there in data division in COBOL?

688






Which mode is used to operate the sequential file?

681


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

2349


What is the utilization of copybook in cobol?

666


What are the different rules for performing sort operation?

770


Which division and paragraphs are mandatory for a COBOL program?

718


What is Pic 9v99 Indicates in COBOL?

735


How do we get current date from system with century in COBOL?

815


Write a program to enter and display the names of students in a class using the occurs clause.

661


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5073


i need a small 3d program using inline and outline.

1646