A maximum of 100 chars can be passed to Cobol through Parm
in JCL, If we want to pass more than 100 Chars how we can
do it ?
Answer Posted / sweetie
As the PARM parameter is not able to pass more that 100
chars, we have to pass the parameter thru Instream with the
help of SYSIN DD *
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
which utility is used to sort a file in jcl?
Explain the function of //cntl statement?
What is the purpose of dd?
What happens if both JOBLIB & STEPLIB is specified ?
How can unused space allocation be returned to the system when a dataset is closed?
what is SOC4 error?
How can the disposition of sysout datasets be set for an entire jobstream?
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
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Which statement is used to identify the private libraries in job?
What is the purpose of the dd keylen parameter?
How can return codes be tested before execution of a job step?
i want to store 20 digits . how will u do it in cobol ?
Explain how can values be passed from the job stream to an executable program?