How do you code Cobol to access a parameter that has been
defined in JCL?
Answer Posted / harish
environemnt division
file1 assign to ddname
file2 assign to ddname
for this in JCL //DDNAME DD DSN.......
LINKAGE SECTION
01 LN-LEN PIC S9(4) COMP.
01 X PIC X
01 Y PIC X
IN JCL THROUGH PARM (MAX 1 TO 100 CHAR)
procedure division.
ACCEPT X
ACCEPT Y.
IN JCL THROUGH SYSIN DD*
pls correct me if anything wrong
HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Difference between array and sub-script ?
How do you get the data to code the BMS macro?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Mention the guidelines to write a structured cobol program?
What is the local-storage section?
What are the different rules to perform a Search?
State the various causes of s0c1, s0c5 and s0c7.
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the esds vsam file formats from cobol programs
What kind of error is trapped by on size error option?
Write a program to explain size error.
IF I mention stop run in CICS what happens?
How many bytes S(8) comp field occupy and its maximum value?