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: 2025
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. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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