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



Could anyone please suggest me what is the maximum length of data that can be pass as input in /..

Answer / deepak

I think 18 Numeric &
160 Character, pls correct me if i am wrong

Is This Answer Correct ?    7 Yes 3 No

Could anyone please suggest me what is the maximum length of data that can be pass as input in /..

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

Could anyone please suggest me what is the maximum length of data that can be pass as input in /..

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

Post New Answer

More JCL Interview Questions

Is it possible to define dd statements as you want?

0 Answers  


how to modify the copy book?explain with examples

2 Answers   TCS,


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 ?

0 Answers  


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

4 Answers   Mind Tree,


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?

11 Answers   IBM,






A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?

2 Answers  


How is a GDG base created?

5 Answers  


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...???

1 Answers  


a dd statement has 2 types of parameters. Name them?

0 Answers  


. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance

1 Answers  


What is the DD statement for a output file?

3 Answers  


how to execute the last 5 steps in jcl

2 Answers   Syntel,


Categories