On Tue, 2005-07-05 at 08:46 -0500, Daniel Cremieux wrote:
> How can i do with DFSORT to add a constant to every record of a file ,
> please ?

Might IEBGENER also do what you want?

//GENER   EXEC PGM=IEBGENER 
//SYSUT1   DD  * 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 
cccccccccccccccccccccccccccccccccc 
/* 
//SYSUT2   DD  SYSOUT=* 
//SYSPRINT DD  DUMMY 
//SYSIN    DD  * 
 GENERATE MAXFLDS=2,MAXLITS=8 
 RECORD FIELD=(3,'AAA',,1),FIELD=(77,1,,4)
/* 

-- 
David Andrews
A. Duda and Sons, Inc.
[EMAIL PROTECTED]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to