How to empty the records in jcl



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

Post New Answer

More JCL Interview Questions

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  


In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 Answers  


in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes

4 Answers  


How do you overcome this limitation ?

0 Answers  


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

0 Answers   IBM,






What do you understand by the term notcat 2 – gs?

0 Answers  


the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.

7 Answers   IBM,


In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04

3 Answers   Patni,


How can a fb file convert to vb file using sort program?

0 Answers  


Is condition checking possible in jcl?

0 Answers  


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


What is the function of job statement in jcl?

0 Answers  


Categories