OUTREC FIELDS=(1:C' HDELETE (',12:16,46,58:C') NOWAIT PU



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

OUTREC FIELDS=(1:C' HDELETE (',12:16,46,58:C') NOWAIT PU

Postby rakesh086 » Mon Mar 19, 2012 6:08 pm

I found a JCL with sort card

   OUTREC FIELDS=(1:C'  HDELETE (',12:16,46,58:C') NOWAIT PURGE',8X)


can anyone please tell me when and why we are going to use. what the significance.
rakesh086
 
Posts: 13
Joined: Fri Jan 06, 2012 9:21 pm
Has thanked: 0 time
Been thanked: 0 time

Re: OUTREC FIELDS=(1:C' HDELETE (',12:16,46,58:C') NOWAIT PU

 

Re: OUTREC FIELDS=(1:C' HDELETE (',12:16,46,58:C') NOWAIT P

Postby BillyBoyo » Mon Mar 19, 2012 6:20 pm

Looks like it is generating a control card to delete a dataset. If you google for HDELETE you'll find out what program the control card is for, and then you can consult that program's documentation to see what the WAIT and PURGE are doing as well.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post