Could anyone please suggest me what is the maximum length
of data that can be pass as input in
//sysin dd *
This was asked in interview.
TIA
Answers were Sorted based on User's Feedback
Answer / deepak
I think 18 Numeric &
160 Character, pls correct me if i am wrong
Is This Answer Correct ? | 7 Yes | 3 No |
Answer / lakshmisudha
maximum unlimited data you can pass within //sysin dd *
if you want pass within line that is depends upon the
creation of ur dataset if lrecl=80 you can pass 72 char
maximum you can define lrecl=150
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / muttaiah
I have a doubt here,,
Generally sysin is retrieved through accept stmt from cobol
program.
each accept stmt can read one line of sysin data.
considering this a line can be max of 71 or 72 char's
so i think the length of sysin will be 71 or 72..
Is This Answer Correct ? | 0 Yes | 1 No |
Is it possible to define dd statements as you want?
how to modify the copy book?explain with examples
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?
How is a GDG base created?
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???
a dd statement has 2 types of parameters. Name them?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
What is the DD statement for a output file?
how to execute the last 5 steps in jcl