Re: Run CLIST/Edit marco without SYSEXEC

2006-04-13 Thread Barry Schwarz
Paul - Unfortunately, while that works for a normal clist/rexx, it won't work 
for an edit macro.
   
  Jeff - My edit macro reference says that a clist macro MUST be in one of the 
usual concatenations.  If you don't like ALLOCATE, you can use ALTLIB.;

Paul Gilmartin <[EMAIL PROTECTED]> wrote:
  In a recent note, Jeff Guan said:

> Date: Thu, 13 Apr 2006 05:39:29 -0500
> 
> schwarz, thanks for you advise, one thing I want to know is, is there a
> more simply way to run the CLIST without ALLOCATE, just like to give the
> full path name to run it.
> 
>From the TSO command line:

exec 'FULL.DATA.SET.NAME(MEMBER)' 'argument list' [exec]

... omit the exec keyword if your script is a CLIST rather than
an EXEC.

e.g.:

exec 'SYS1.SAMPLIB(CSFTEST)' 'whatever' exec

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

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



-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.

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


Re: Run CLIST/Edit marco without SYSEXEC

2006-04-13 Thread Paul Gilmartin
In a recent note, Jeff Guan said:

> Date: Thu, 13 Apr 2006 05:39:29 -0500
> 
> schwarz, thanks for you advise, one thing I want to know is, is there a
> more simply way to run the CLIST without ALLOCATE, just like to give the
> full path name to run it.
> 
>From the TSO command line:

exec 'FULL.DATA.SET.NAME(MEMBER)' 'argument list' [exec]

... omit the exec keyword if your script is a CLIST rather than
an EXEC.

e.g.:

exec 'SYS1.SAMPLIB(CSFTEST)' 'whatever' exec

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

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


Re: Run CLIST/Edit marco without SYSEXEC

2006-04-13 Thread Jeff Guan
schwarz, thanks for you advise, one thing I want to know is, is there a 
more simply way to run the CLIST without ALLOCATE, just like to give the 
full path name to run it.

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


Re: Run CLIST/Edit marco without SYSEXEC

2006-04-12 Thread Barry Schwarz
CLISTs belong in SYSPROC, not SYSEXEC.  (REXX's can go in either.)
   
  You can change the SYSEXEC/SYSPROC allocation after logon with the ALLOCATE 
command.  This will allow your macro to be in any library you like.
   
  You can also use the ALTLIB command to set up a "temporary" library that will 
be searched first .

Jeff Guan <[EMAIL PROTECTED]> wrote:
  Hi all,
We used an Clist/edit marco to custmised some keyword. To run the clist, we 
just enter the clist name on the command line while in ISPF editing a PDS 
member.
The Clist is just like below:
--
ISREDIT MACRO 
ISREDIT C 'SYSALLDA' '3390' ALL
ISREDIT C 'SYSDA' '3390' ALL
--

Normally to run the clist, it must in the ISPF logon procedure's SYSEXEC 
dataset.
Is there any way without put it in SYSEXEC ds and run it from edit command 
line?


-
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min 
with Yahoo! Messenger with Voice.

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


Run CLIST/Edit marco without SYSEXEC

2006-04-11 Thread Jeff Guan
Hi all,
We used an Clist/edit marco to custmised some keyword. To run the clist, we 
just enter the clist name on the command line while in ISPF editing a PDS 
member.
The Clist is just like below:
--
ISREDIT MACRO   
ISREDIT C 'SYSALLDA''3390' ALL
ISREDIT C 'SYSDA'   '3390' ALL
--

Normally to run the clist, it must in the ISPF logon procedure's SYSEXEC 
dataset.
Is there any way without put it in SYSEXEC ds and run it from edit command 
line?

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