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
Is their any set of rules for dd? Explain.
//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 /*
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Why include statement is used in a jcl?
How would you understand error(execution phase)?
What are some jcl statements that are not allowed in procedures?
how JCL works?
What is notcat 2 - gs?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Explain how can a stopped job be started again?
Differentiate between addressing mode and run mode.
Is it possible to left uncode disp? If yes, how?
What is the significance of addrspc parameter in exec statement?
Explain about ISPF/TSO Commands
Explain in DD statement what is the use of DCB parameter?