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

Using IRXJCL to execute REXX with pipes


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Thu Feb 25, 2010 4:31 am
Reply with quote

YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING. AROUND YOU IS A FOREST. A SMALL STREAM FLOWS OUT OF THE BUILDING AND DOWN A GULLY.

Extra points for Mr Scherrer today!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Feb 25, 2010 4:41 am
Reply with quote

There is a wumpus nearby ....
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Feb 25, 2010 1:18 pm
Reply with quote

dkoppit wrote:
Peter,
Yes, I have tried addressing Netview, as well as MVS and TSO just to try things. But addressing NETVIEW doesn't appear to work the same from IRXJCL as when I address MVS and use an MVS command.

There are plenty of times when I want to run a JCL that calls a REXX using IRXJCL. As far as I can tell REXX is much easier to pick apart, parse and interrogate a dsn over JCL (not even sure if JCL can do this). When that JCL has to be on a schedule, it's much more to convenient to have the JCL call the REXX, rather than have the REXX on an approximate timer pop, then have it go out and look to see of the JCL finished properly, then execute the REXX.


dkoppit,

IRXJCL is part of TSO/E which is part of MVS, so you can change to TSO, MVS and ISPF. In my automation days i remember vaguely that running pure NCCF commands (like PIPE) is not possible in MVS (IRXJCL).
So in that case I always used a timer (and yes thats also a kind of scheduling) to run things under NETVIEW. Beside that i agree that PIPE is
a nice command but not all MVS/NETVIEW commands are traped by PIPE.
So you end up with a mix of PIPES and/or TRAP rexx routines.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sun Feb 28, 2010 3:01 pm
Reply with quote

Oops, i forgot about the TWS/Netview interface to run netview commands
in batch, cause i never used that.

The following manual will give you the info how to use the EVJRYCMD
command in your IKJEFT01 jcl/procedure :

TWS Automation Programmer’s Reference and Operator’s Guide SC33-8269
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
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
Search our Forums:

Back to Top