Got it sorted ..it's more DFSORT OUTREC i should have used rather than Build as 
that doesn't support the PD to ZD conversion function.

OPTION VLSHRT                                                   
MERGE FIELDS=COPY                                               
INCLUDE COND=((9,2,CH,EQ,C'D ',AND,                             
              74,1,BI,EQ,B'....1...'))                          
OUTFIL FNAMES=DCOLOUT,CONVERT,                                  
OUTREC=(1,4,                          * RDW                     
       5:29,44,                       * DATASET NAME            
       49:83,6,                       * VOLUME SERIAL NUMBER    
       57:109,4,PD,TO=ZD,LENGTH=7,    * CREATION DATE           
       66:117,4,PD,TO=ZD,LENGTH=7,    * LAST REFERENCE DATE     
       180:X)                          * PAD WITH BLANKS        
END                                                             

I could include 74,1,BI,EQ,B'...1....') for PDSE as well and that's working 
good as well...

Thanks all who responded..I always try to put the solution back since might 
other who looking for same inforamtion get it useful.
Thanks,Ravi

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to