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 |
What do you know about jcl?
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
what is the difference between return code and maxcc?
how you will the direct the data to spool using sysout option?
What is the function of the dd avgrec keyword in sms datasets?
There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.
what is use of disp parameter in dd statement?
Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2
In job processing, what happens in conversion stage?
What is the purpose of dd?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
what is the difference between static call and dynamic call?