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

whats the diff bw the evaluate also and and?

1847


What is the significance of addrspc parameter in the exec statement?

615


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

969


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1797


what are the types of abends that occur on job failure? And explain the possible causes of these

1112






What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9205


What is use of restart and how to use it?

758


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7073


Is their any limit for data sets?

699


Explain how can the attributes of one sms dataset be copied to another dataset?

703


how can the same proc be re-used and called by many jobs?

903


Explain the function of a dd statement?

651


In job processing, what happens in conversion stage?

729


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2158


In sms datasets, what is the function of the dd avgrec keyword?

648