View previous topic :: View next topic
|
Author |
Message |
kirubha
New User
Joined: 12 Jul 2006 Posts: 6 Location: US
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
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 |
|
|
kirubha
New User
Joined: 12 Jul 2006 Posts: 6 Location: US
|
|
|
|
Yes that helped a lot.. Thanks !! |
|
Back to top |
|
|
kirubha
New User
Joined: 12 Jul 2006 Posts: 6 Location: US
|
|
|
|
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 |
|
|
|