What will happen when we try to pass data from JCL to COBOL
using PARM parameter without declaring the length field in
Linkage Section?
Answer Posted / randhir
if we do not code the length field for parm in cobol then
the first 2 bytes of parm data will be used to stored the
length of parm field and also last 2 bytes of parm data
will be lost.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
what happens in execution stage in job processing?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Is there any command to check wether the ps file is in sorted order?
How does the jcl specify the job to os?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is the use of symbol // in jcl?
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
How do you submit a job for execution?
when does a dataset go uncataloged?
Explain how can the submitting users racf authority be overridden in a job stream?
What is the maximum length of a single line of jcl?
how would you create a temporary dataset? And where will you use them?
Explain the purpose of the dd keylen parameter?
What are the rules employed while naming the steps in a job?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC