How to empty the records in jcl

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

how JCL works?

796


whats the diff bw the evaluate also and and?

1857


How does jcl act on code(if you take a cobol program)?

710


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1733


Describe the various parameters utilized in the creation of a gdg?

685






Explain the purpose of the dd keylen parameter?

677


Must tape dataset definitions include vol=ser specifications?

983


How can a jobs execution priority be modified?

799


What is the syntax of JCL statement?

697


how you will the direct the data to spool using sysout option?

1766


List in order the hierarchical levels of jcl?

670


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

924


What are the jcl procedures?

647


What are steplib and joblib?

725


Explain how can a jobs execution priority be modified?

742