Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ISPEXEC commands within a REXX routine invoked through JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
kirubha

New User


Joined: 12 Jul 2006
Posts: 6
Location: US

PostPosted: Wed Nov 12, 2008 6:40 am    Post subject: ISPEXEC commands within a REXX routine invoked through JCL
Reply with quote

Can we execute ISPEXEC commands within a REXX routine that's invoked through a batch JCL?

I'm trying to execute a REXX routine through Batch (JCL). And i need to execute ISPEXEC commands like "VIEW DATASET" and "FTINCL" within the REXX routine invoked through the job. But i'm getting an RC -3 for each ISPEXEC commands in the routine. Please help!!
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Nov 12, 2008 8:38 am    Post subject: Reply to: ISPEXEC commands within a REXX routine invoked thr
Reply with quote

Check some of these previous topics to see if you might have the same issue:

http://www.ibmmainframes.com/viewtopic.php?t=35200&highlight=ispstart
http://www.ibmmainframes.com/viewtopic.php?t=32122&highlight=ispstart
http://www.ibmmainframes.com/viewtopic.php?t=30366&highlight=ispstart
http://www.ibmmainframes.com/viewtopic.php?t=17588&highlight=ispstart
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2083
Location: Silicon Valley

PostPosted: Wed Nov 12, 2008 10:10 pm    Post subject: Reply to: ISPEXEC commands within a REXX routine invoked thr
Reply with quote

I do not think you can "VIEW DATASET" from a batch program. The batch job has no display terminal associated with it. Who do you expect to view the dataset?
Back to top
View user's profile Send private message
kirubha

New User


Joined: 12 Jul 2006
Posts: 6
Location: US

PostPosted: Wed Nov 12, 2008 10:37 pm    Post subject: Reply to: ISPEXEC commands within a REXX routine invoked thr
Reply with quote

Yes that helped a lot.. Thanks !!
Back to top
View user's profile Send private message
kirubha

New User


Joined: 12 Jul 2006
Posts: 6
Location: US

PostPosted: Wed Nov 12, 2008 10:39 pm    Post subject: Reply to: ISPEXEC commands within a REXX routine invoked thr
Reply with quote

i'm not looking to display the dataset.. I just want to open the dataset in view mode and process the content.. I'll just use a view macro and exit after processing...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us