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
 

 

how to plan and use sysrexx?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Fri Jun 11, 2010 9:23 am    Post subject: how to plan and use sysrexx?
Reply with quote

please can anyone tell me something about plan and use system rexx?

I know the address space 'AXR' is for sysrexx and already active in SDSF

NP JOBNAME StepName ProcStep JobID Owner C Pos DP Real Paging SIO
AXR AXR IEFPROC NS C1 416 0.00 0.00

but when I exex a short sysrexx progam,an error occured...

program is here:

/* REXX */
XXX = AXRCMD('D IPLINFO','LIST.',10);
DO I = 1 TO LIST.0
SAY LIST.I
END

error is here:


17 +++ XXX = AXRCMD('D IPLINFO','LIST.',10)
IRX0043I Error running SYSREXX, line 17: Routine not found
***

I'm afraid there still some components should be configured for this AS.thanks.
Back to top
View user's profile Send private message

Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Sat Jun 12, 2010 7:13 am    Post subject:
Reply with quote

晕倒!!!!!!
!!!!!!!!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 12, 2010 8:48 am    Post subject:
Reply with quote

Hello,

If you intended to communicate something to the forum with your most recent reply - you missed. . . Someone may understand your most recent post, but i surely do not. . . icon_confused.gif

For someone to help, you need to show more detail. Where is this being run? Online or in a batch job? If batch, show the jcl.
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Sat Jun 12, 2010 9:08 am    Post subject:
Reply with quote

thanks for ur consideration...

SYSTEM REXX is a new component for z/os v1.9 and above.

Starting SYSREXX Requires
– Ability to read SYS1.PARMLIB
– Parmlib member CTIAXR00
– Ability to read SYS1.SAXREXEC



The role of SYSREXX in “New Face of z/OS” is to provide an infrastructure through which REXX execs may be run outside the normal TSO/E or Batch environments, using a simple programming interface. This enables the leveraging of base operating system components by new style applications that will, over time, lead to simplified interaction and more intuitive system management capabilities on z/OS.
The ability to initiate REXX execs directly from an operator console has been long overdue on z/OS and is a drag along benefit of this initiative.
The possibilities for exploiting existing REXX code through the use of SYSREXX are vast, whether to provide operator assists or to provide routines that can be leveraged by new strategic initiatives.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 12, 2010 9:53 am    Post subject:
Reply with quote

Hello,

If you run outside tso/ispf i suspect there will be problems trying to run anything that requires either or both of these . . .

The problem posted (routine not found) appears to be due to one or more "missing" libraries.
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Sun Jun 13, 2010 8:35 am    Post subject:
Reply with quote

icon_sad.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Jun 13, 2010 8:39 am    Post subject:
Reply with quote

Victor Niu wrote:
icon_sad.gif
What does this mean?
Victor Niu wrote:
晕倒!!!!!!
!!!!!!!!
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Sun Jun 13, 2010 8:43 am    Post subject:
Reply with quote

can't find the corresponding library...
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jun 13, 2010 10:11 am    Post subject:
Reply with quote

Hello,

Have you asked the system support people?

Will this command find the routine if you run it in your online tso session? It might not work properly, but if it runs and fails, you know it is "there".
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Sun Jun 13, 2010 10:26 am    Post subject:
Reply with quote

thanks,dick

resolved this problem by myself.

the system rexx pgm can be executed outside of conventional tso/e and batch environments,such as from operational console.

The default command prefix is 'REXX&SYSCLONE',it can be customized in SYS1.PARMLIB(AXR00). and the pgm should be copied to sysrexx library SYS1.SAXREXEC.

my program name is 'HELLO' and sysclone name is'1A',so I can run this command 'REXX1A HELLO' in console and sdsf. the result is:

RESPONSE=ADCD
AXR0500I AXREXX OUTPUT DISPLAY 397
EXECNAME=HELLO REQTOKEN=0000400000000000C61F27CD66292001
IEE254I 12.57.05 IPLINFO DISPLAY 396
SYSTEM IPLED AT 09.45.41 ON 06/13/2010
RELEASE z/OS 01.09.00 LICENSE = z/OS
USED LOADZZ IN SYS1.IPLPARM ON 0A85
ARCHLVL = 2 MTLSHARE = N
IEASYM LIST = 00
IEASYS LIST = ZZ (OP)
IODF DEVICE 0A85
IPL DEVICE 0A81 VOLUME Z9RES1
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Sun Jun 13, 2010 10:39 am    Post subject:
Reply with quote

CICS Guy wrote:
Victor Niu wrote:
icon_sad.gif
What does this mean?
Victor Niu wrote:
晕倒!!!!!!
!!!!!!!!



haha,I just printed some Chinese characters,but it can't display.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Jun 13, 2010 11:31 am    Post subject:
Reply with quote

Victor Niu wrote:
haha,I just printed some Chinese characters,but it can't display.
...chuckle, maybe I should have asked you what does it translate to....grin...
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jun 13, 2010 11:38 am    Post subject:
Reply with quote

Hello,

Quote:
resolved this problem by myself.
Good to hear this - thank you for lettng us know icon_smile.gif

Quote:
the system rexx pgm can be executed outside of conventional tso/e and batch environments,such as from operational console.

Yes, i understand this is intended to run "stand alone". I suspect that if you want to use any tso or ispf function that function, that function will fail.

Other than the marketing text posted earlier, why do you believe there is a benefit to running this from the console? Every "console commander" i've seen in more than 20 years has tso running already. . .

This sounds like yet another solution in search of a requirement. . .
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Mon Jun 14, 2010 3:11 pm    Post subject:
Reply with quote

@Dick Hi; System Rexx has limited TSO functionality but enough to make it useful. We use it on our SYSPROG images to start and stop the systems. They are test systems and we could not justify the expense of installing automations software . Also many of our ops staff do not have access to TSO this gives us the opportunity to give them access to more information and also to tailor the information.
Finally a question What is a console commander ? it is a term I have not come across before and when I look in google it is not that helpful
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 14, 2010 7:52 pm    Post subject:
Reply with quote

Hello,

Sorry 'bout that. . . my bad. . .

"Console commander" is a slang term for Computer Operators who man the "system console" and are not involved with scheduling, job setup, peripherals (tape, cart, paper, etc), etc.

Multiple people may have security permissions to issue console commands, but these people (the console commanders) spend their entire shift working system consoles.

Not everywhere has this particular setup, but one of my most recent clients has 9 "really big" mainframes, runs over 30 production lpars and as many as 400 cics regions. There are multiple operators to monitor and respond to console activity 24x7.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Jun 14, 2010 9:25 pm    Post subject: Reply to: how to plan and use sysrexx?
Reply with quote

System rexx has many restrictions; but you can call system rexx from an authorized program, which I think is a failing of other alternatives.

Though, I have never used it.
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Mon Jun 14, 2010 9:56 pm    Post subject:
Reply with quote

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ieaa800/systemrexx.htm

hello nevilh

how to understand the statements:

"There are two different execution environments that are supported:

TSO=NO |TSO=YES"

and specified this parameter in which member?

do u know how to invoke the system rexx by jcl?
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Tue Jun 15, 2010 5:39 pm    Post subject:
Reply with quote

If we use system rexx in batch we invoke it from home written assembler programs (from the documentation I am not sure if it can be directly invoked) . Though it can be invoked from either SDSF batch or any program that can issue commands. The TSO=xx can be defined on the AXREXX macro . If TSO=NO is specified the task will run in a shared address space and cannot issue certain host commands. If TSO=YES is specified the task will run in an isolated isingle address space
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Thu Jun 17, 2010 1:25 pm    Post subject:
Reply with quote

thanks,nevilh,dick and Pedro

in this case,system rexx is no use for task.

my requirement is that a simply pgm can write some self-defined messages which are not highlight to syslog and master console.

Then some concernful jobs can invoke this pgm to give alarms once abends occured.

at beginning,I hope the system rexx can satisfy this requirement and then no need assembler pgm and netview rexx developing.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Thu Jun 17, 2010 1:35 pm    Post subject:
Reply with quote

Quote:

netview rexx


Are we talking here SA/390 message 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 -> CLIST & REXX All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Program and its corresponding plan vickey_dw DB2 4 Thu Apr 07, 2016 9:27 pm
No new posts Should we Rebind Plan if no SQL changes sappy_mf DB2 2 Thu Mar 03, 2016 2:13 pm
No new posts What's plan, package, bind ? jackzhang75 DB2 2 Sun Feb 28, 2016 7:29 pm
No new posts DB2 plan for DSNTEP2 / DSNTEP4 Mainak_Dalal DB2 3 Thu Jan 21, 2016 1:08 am
No new posts Multiple COBOL-DB2 pragrams calling b... deepak_shrivastava DB2 1 Wed Jan 06, 2016 3:45 pm


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