how can we pass parameters from JCL to cobol
subprogram...my requirement is i should not get data from
mainprogram but i need it from JCL directly
Answer Posted / vishal sinha
>>Through PARM parameter
>>Through INSTREAM DD statement
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
List the different components of jcl statement?
What is the function of the steplib dd statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Is automatic restart possible in jcl? If yes, how?
Explain the purpose of the dd keylen parameter?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what is DSN parameter and DISP parameter is used for?
When space is allocated for an output dataset, what units can be used?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
Explain dfsort utility?
What is job control language?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What are the utility programs in jcl?