How to empty the records in jcl
Answer / biprajit
To empty a file in JCL you can use IEBGENER;
Sysut1 dd dummy
Sysut2 dd dsn=filename
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the format of comment statement?
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
If Region=0k means What Happen?
i have a string of 80 chars i want to replace 4th char with "a"?
How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.
if we give two job cards in a single what happens
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
what is JCLLIB and PROCLIB in jcl and their syntax
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
Explain concatenating datasets?
Matching Logic in Jcl not in cobol.Could any one please answer this question