Hi Steven
The RECREATE scripts are designed with a variable selection newlist, and several fixed members that generate RACF commands. The fixed members all reference the name of the selection newlist, like so:
newlist name=idsel
select class=user mask=IBMUSER
newlist name=baseseg
select segment=base likelist=idsel
sortlist 'ADDUSER' profile ...
newlist name=tsoseg proflist=idsel
select segment=tso
sortlist 'ALTUSER' profile 'TSO('
CARLa does not allow for redefining (previously defined) newlist names, so a concept like this does not work:
newlist name=idsel
select class=user mask=IBMUSER
newlist name=baseseg
select segment=base likelist=idsel
sortlist 'ADDUSER' profile
......
newlist name=idsel
select class=user mask=STCUSER
newlist name=baseseg
select segment=base likelist=idsel
sortlist 'ADDUSER' profile ...
As you pointed out, that the RECREATE members support the generation of commands for multiple profiles, so the following type of selection newlist should do the trick:
newlist name=idsel
select class=user mask=SYS*
or
newlist name=idsel
select class=user profile=(IBMUSER,STCUSER)
If you select the panel option "Optimized for post-processing" and allocate a CKRCMD data set with a LARGE value for LRECL, you should get a list that can be split up quite easily by a post-processing Rexx as you wanted, one member per ID.
------------------------------
Rob van Hoboken
------------------------------