What will happen if we write two STOP RUN's in a COBOL
program?

Answer Posted / suresh

The two STOP RUN statements are valid and the statement
which one will be processed first, will be executed first
and control return back to the operting system.

Is This Answer Correct ?    31 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2112


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2072


What is Cataloged Procedures?

716


i want to store 20 digits . how will u do it in cobol ?

866


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

918






What do you know about jcl?

652


define cond parameter in jcl?

779


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

784


Is condition checking possible in jcl? If yes, how?

740


what is the purpose of coding notify parameter in job statement?

690


how do you access an uncataloged dataset in a jcl?

849


What do you understand by the terms: joblib and steplib?

626


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7093


How does the jcl specify the job to os?

698


What are steplib and joblib?

725