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

Answer Posted / mr.perfect

if we run the two
STOP RUN.
STOP RUN.

WE WILL GET ABEND S013

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is job control language?

605


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.

726


Differentiate between addressing mode and run mode.

615


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

668


Explain in DD statement what is the use of DCB parameter?

652






What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

811


Is it possible to code instream data in a PROC?

748


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

668


Brief description of inline procedure of jcl.

682


Explain how can return codes be tested before execution of a job step?

819


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1927


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

711


what operation is performed by job statement?

656


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1485


What is the purpose of the dd keylen parameter?

718