IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Rexx routine which will add the JOBCARD at the begining


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jun 12, 2007 5:33 pm
Reply with quote

I am trying to execute that main rexx part alone so it leads to the following error.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 12, 2007 5:46 pm
Reply with quote

Quote:
Are you running in batch or online ?
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jun 12, 2007 6:35 pm
Reply with quote

online
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 12, 2007 6:48 pm
Reply with quote

Try doing this at the start of your REXX code

Code:

"ALTLIB  DEACTIVATE  USER(*)"                     
"FREE    FI(SYSUEXEC,SYSUPROC)"                   
"ALLOC   FI(SYSUEXEC) DA('"xxxxxx".REXX') SHR REU" 
"ALLOC   FI(SYSUPROC) DA('"xxxxxx".REXX') SHR REU" 
"ALTLIB  ACTIVATE    USER(*)"           
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jun 12, 2007 7:28 pm
Reply with quote

What if I am trying the same thing in batch does it have any change or shall I use the same old rexx ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 12, 2007 7:40 pm
Reply with quote

Same REXX will do OK.

But as was mentioned earlier in this thread, you will need to TSO ISRDDN to get the names of the datasets that you need to include for ISPF batch.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Wed Jun 13, 2007 10:59 am
Reply with quote

Ok thanks Expat for ur help.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top