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 there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
what is the job entry system used in your project?
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?
IF WE GIVE COND on step3 then, What does the following mean ? And Just adding to that, All the below COND are VALID as per the specifications. (i) COND = (8,LT,step1,step2) ---(AND/OR ?) (ii) COND = (8,LT,step1,step2, ONLY), (iii) COND = (8,LT,step1,ONLY) will it execute only if this condition is true or only if step1 ABENDS ? (iv) COND = (8,LT,step1,step2,EVEN), (v) COND = (8,LT,step1,EVEN) ?
how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?
How many types of libraries are there in JCL ?
how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.
When space is allocated for an output dataset, what units can be used?
what's the significance of freespace(0 0) and freespace(100 100)
how to create a member or sequential dataset through tso command??