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

ISPEXEC commands within a REXX routine invoked through JCL


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Wed Nov 12, 2008 8:38 am
Reply with quote

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

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

Global Moderator


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

PostPosted: Wed Nov 12, 2008 10:10 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
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
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top