Allocation ERROR, Please help



IBM's Command List programming language & Restructured Extended Executor

Allocation ERROR, Please help

Postby dobli » Tue May 19, 2009 11:03 am

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.
dobli
 
Posts: 1
Joined: Tue May 19, 2009 10:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: Allocation ERROR, Please help

Postby expat » Tue May 19, 2009 11:55 am

Take a look at the ALTLIB statement
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: Allocation ERROR, Please help

Postby MrSpock » Tue May 19, 2009 5:26 pm

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
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Allocation ERROR, Please help

Postby PAPY2000 » Sun May 31, 2009 12:21 pm

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'
PAPY2000
 
Posts: 2
Joined: Sun May 31, 2009 12:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Allocation ERROR, Please help

Postby dick scherrer » Sun May 31, 2009 11:00 pm

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?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post