Not bad. I like it. In my previous post I show I'm doing something "somewhat" 
similar by tacking on the indicator of the file it came from BUT... in 50 
steps. With the below I probably could do it in one. 

Bill

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Massimo Biancucci
Sent: Thursday, December 20, 2012 10:02 AM
To: [email protected]
Subject: Re: SYNCSORT or ICEMAN

I hope I did fully understand your question.
 
I think you could solve using different steps with "quite similar" include and 
outrec cards or something like the following (only for two files and you can 
extend for the needed using the correct disposition):
 
//ST011    EXEC  PGM=ICETOOL //TOOLMSG   DD   SYSOUT=* //DFSMSG    DD   SYSOUT=*
//SI01     DD *
A1234567890
B1234567890
C1234567890
D1234567890
/*
//SI02     DD *
A1234567890
B1234567890
C1234567890
D1234567890
/*
//SO01     DD SYSOUT=*
//SO02     DD SYSOUT=* //TOOLIN   DD   *
 COPY FROM(SI01) TO(SO01) USING(CTL1)
 COPY FROM(SI02) TO(SO02) USING(CTL2)
/* //CTL1CNTL DD *
 INCLUDE COND=(1,1,CH,EQ,C'A')
 OUTREC FIELDS=(C'01',1,80)
/* //CTL2CNTL DD *
 INCLUDE COND=(1,1,CH,EQ,C'A')
 OUTREC FIELDS=(C'02',1,80)
/*                               
 
If you meant something doing all the job "automagically .... :D", then I don't 
know.
 
Regards.
Max
 
 
  

________________________________
 Da: "George, William@FTB" <[email protected]>
A: [email protected]
Inviato: Giovedì 20 Dicembre 2012 17:57
Oggetto: SYNCSORT or ICEMAN
  
I have a need to check 50 datasets (50 gens of a GDG) and extract records that 
match my criteria. I also would like to know which dataset in the concatenation 
the record was extracted from by adding an indicator to the output record.  Is 
this possible via Syncsort or ICEMAN?



I've made a quick scan of the Syncsort guide but now will dig deeper but 
thought I'd throw this question out also to hopefully help expedite the answer.



Thanks

Bill

______________________________________________________________________
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole 
use of the intended recipient and may contain confidential and privileged 
information. Any unauthorized review or use, including disclosure or 
distribution, is prohibited. If you are not the intended recipient, please 
contact the sender and destroy all copies of this email.

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

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

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

Reply via email to