The actual grunt work of creating commands is trivial, i.e.

//sortin dd dsn=any.file.containing.dataset.hlqs,disp=shr
//sortout dd dsn=any.file.that.will.be.executed.commands,disp=(new,......)
//sysin dd *
 sort fields=copy
 outrec fields=(c' add command syntax',
                01,10,                    hlq field from input
                c' the rest of the command',
                060x)                      fill up to 80 bytes.

Inspired by Frank Yeager and the DF/SORT web site.
Please check for numerous syntax liberties above.

tb



 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Shmuel Metz (Seymour J.)
Sent: Monday, January 09, 2006 9:44 AM
To: [email protected]
Subject: Re: To create many RACF profiles at one time

In <[EMAIL PROTECTED]>, on
01/07/2006
   at 07:44 PM, Johnny Luo <[EMAIL PROTECTED]> said:

>Thank you all.It's indeed a boring job....In fact,I assumed that we
>can somehow write some codes to automatically
>retrive all data set names in the system and process them using
>REXX,so the work gets more easier.However,it seems that I can't do
>that:(

Why not? It's a SMOP. If you're interested only in cataloged data
sets, use CSI. If you want everything, use ISPF services, which are
available from REXX.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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