Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 4648
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: 2038
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us