Page 1 of 1

Allocation ERROR, Please help

PostPosted: Tue May 19, 2009 11:03 am
by dobli
Dear All,

I have set of REXX programs in the dataset 'ME.TEST.EXEC' and I am trying to execute those rexx programs from ISPF using TSO command option.

I am trying to allocate the dataset to SYSEXEC using a REXX.
I have tried,
"EXECUTIL SEARCHDD(yes)"
"ALLOC FILE(SYSEXEC) DATASET('ME.TEST.EXEC') SHR REUSE"

Please let me know how to CONCATENATE the dataset in SYSEXEC.

Also, Tried

"ALTLIB ACTIVATE APPL(EXEC) DSN('ME.TEST.EXEC')"

But after allocation Iam unable to execute the rexx using TSO command option from ISPF.

Re: Allocation ERROR, Please help

PostPosted: Tue May 19, 2009 11:55 am
by expat
Take a look at the ALTLIB statement

Re: Allocation ERROR, Please help

PostPosted: Tue May 19, 2009 5:26 pm
by MrSpock
I sometimes use this exec:

/* REXX */
dsname = "'MRSPOCK.REXX'"
ddname = "SYSPROC"
"ISPEXEC QBASELIB "ddname" ID(dslist)"
"ALLOC F("ddname") DA("dsname","dslist") SHR REU"
Exit 0

Re: Allocation ERROR, Please help

PostPosted: Sun May 31, 2009 12:21 pm
by PAPY2000
I have set of REXX programs in the dataset 'ME.TEST.EXEC' and I am trying to execute those rexx programs from ISPF using TSO command option.

I am trying to allocate the dataset to SYSEXEC using a REXX.
I have tried,
"EXECUTIL SEARCHDD(yes)"
"ALLOC FILE(SYSEXEC) DATASET('ME.TEST.EXEC') SHR REUSE"

When I executed the above syntax, all my other dataset in SYSEXEC got vanished.

Please let me know how to CONCATENATE the dataset in SYSEXEC.

Also, Tried

"ALTLIB ACTIVATE APPL(EXEC) DSN('ME.TEST.EXEC'

Re: Allocation ERROR, Please help

PostPosted: Sun May 31, 2009 11:00 pm
by dick scherrer
Hello,

Is there some reason you believed you needed to copy/paste the entire original post and post this as a reply?

Do you have a question or something to contribute?