Re: System Rexx 2

2023-05-15 Thread Peter Ten Eyck
Thanks Steve, that is the issue. When I was getting things setup for System 
Rexx I mistakenly built the AXRNN proc with the contents of the AXRPSTRT proc, 
my bad. I corrected that, now working. Nice catch, error message did not give 
me much.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread Steve Smith
"AXR0101I SYSTEM REXX (AXR) IS ALREADY ACTIVE":  It appears that instead of
starting a TSS task, it somehow is trying to start the main task again.

It acts like your AXRNN proc was replaced with the AXRPSTRT proc.

sas

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread Peter Ten Eyck
Yes, I have opened a ticket with IBM based on that documented message. 
Scratching my head, a simple Rexx exec, either something is broken, or I have a 
misconfiguration.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread ITschak Mugzach
It looks like that your AXRxx member of parmlib does not state the number
of active AXRxx tasks, so AXR01 is started after you enter the command.

ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon  *




On Mon, May 15, 2023 at 5:46 PM Itschak Mugzach 
wrote:

> Interesting. the diag code says 'call IBM' ...
>
> *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
> Platform* *|* *Information Security Continuous Monitoring for Z/OS,
> zLinux and IBM I **|  *
>
> *|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
> *Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*
>
>
>
>
>
> On Mon, May 15, 2023 at 5:45 PM Peter Ten Eyck <
> 04d3761a18a7-dmarc-requ...@listserv.ua.edu> wrote:
>
>> Yes.
>>
>> RESPONSE=EXPR
>>  AXR0202I SYSREXX REXXLIB DISPLAY 715
>>  ENTRY VOLUME  DATA SET
>>1   TST001  SYSP.EXPR.SYSREXX
>>2   APRS02  SYS1.SAXREXEC
>>
>> Both are:
>>
>> Organization  . . . : PO
>> Record format . . . : VB
>> Record length . . . : 255
>>
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread Itschak Mugzach
Interesting. the diag code says 'call IBM' ...

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*





On Mon, May 15, 2023 at 5:45 PM Peter Ten Eyck <
04d3761a18a7-dmarc-requ...@listserv.ua.edu> wrote:

> Yes.
>
> RESPONSE=EXPR
>  AXR0202I SYSREXX REXXLIB DISPLAY 715
>  ENTRY VOLUME  DATA SET
>1   TST001  SYSP.EXPR.SYSREXX
>2   APRS02  SYS1.SAXREXEC
>
> Both are:
>
> Organization  . . . : PO
> Record format . . . : VB
> Record length . . . : 255
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread Peter Ten Eyck
Yes.

RESPONSE=EXPR
 AXR0202I SYSREXX REXXLIB DISPLAY 715
 ENTRY VOLUME  DATA SET  
   1   TST001  SYSP.EXPR.SYSREXX 
   2   APRS02  SYS1.SAXREXEC 

Both are:

Organization  . . . : PO 
Record format . . . : VB 
Record length . . . : 255

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread Itschak Mugzach
and the dcb of the two libraries under sysrexx is identical? should be vb
255

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*





On Mon, May 15, 2023 at 5:33 PM Peter Ten Eyck <
04d3761a18a7-dmarc-requ...@listserv.ua.edu> wrote:

> Yes, it is there, I missed it on my copy and paste, my bad. Rexx exec does
> run in TSO.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread Peter Ten Eyck
Yes, it is there, I missed it on my copy and paste, my bad. Rexx exec does run 
in TSO.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx 2

2023-05-15 Thread Itschak Mugzach
Do you miss the closing comment on the first line by intent? it should be
/* rexx */

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*





On Mon, May 15, 2023 at 5:04 PM Peter Ten Eyck <
04d3761a18a7-dmarc-requ...@listserv.ua.edu> wrote:

> Simple exec:
>
> /* REXX
>TRACE A
>SAY 'Welcome to System Rexx'
> exit 0
>
>
> Results:
>
> NC000 EXPR 23135 08:43:37.27 FF00768  0290  F AXR,POCSYSR1
>
> N 020 EXPR 23135 08:43:37.29 STC02360 0281  $HASP100 AXR01
> ON STCINRDR
> N 400 EXPR 23135 08:43:37.30 STC02360 0090  $HASP373 AXR01
> STARTED
> N 000 EXPR 23135 08:43:37.30 STC02360 0090  IEF403I AXR01 -
> STARTED - TIME=08.43.37
> N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  -
> --TIMINGS (MINS.)--
> S -PAGING
> COUNTS
> N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  -STEPNAME
> PROCSTEPRC   EXCP   CONNTCBSRB  CLOCK   SERV
> S   WORKLOAD  PAGE
> SWAP   VIO SWAPS
> N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  -
>  AXRPSTRT00  5  0.00.00 .0 55
> S   STCPROD  0
>  0 0 0
> N 000 EXPR 23135 08:43:37.31 STC02360 0090  IEF404I AXR01 -
> ENDED - TIME=08.43.37
> N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  -AXR01ENDED.
> NAME- TOTAL TCB CPU TIME=.00
> S   TOTAL ELAPSED
> TIME=.0
> N 400 EXPR 23135 08:43:37.31 STC02360 0281  $HASP395 AXR01
> ENDED - RC=
> N 000 EXPR 23135 08:43:37.31  0290  IEA989I SLIP TRAP
> ID=X33E MATCHED.  JOBNAME=*UNAVAIL, ASID=0076.
> MR000 EXPR 23135 08:43:37.32 FF00768  0090  AXR0203I AXREXX
> INVOCATION OF POCSYSR1 FAILED. 558
> DR558 0090  RETCODE=0010
> RSNCODE=0437100B
> DR558 0090
> REQTOKEN=4000DD4CBED05FDE9C00
> ER558 0090  DIAG1=
> DIAG2= DIAG3= DIAG4=
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I 1
> //IEESYSAS JOB TIME=NOLIMIT,
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>  // MSGLEVEL=1\
>-DSLIST  *SDSF
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I 2
> //AXR  EXEC IEESYSAS,PROG=AXRINIT
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I  STMT NO.
> MESSAGE
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I 2
> IEFC001I PROCEDURE IEESYSAS WAS EXPANDED USING SYSTEM
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I LIBRARY
> SYS1.IBM.PROCLIB
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I 3
> XXIEESYSAS PROC PROG=IEFBR14
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>0005
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I 4
> XXIEFPROC  EXEC PGM=
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>0010
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>  XX* THE IEESYSAS PROCEDURE IS SPECIFIED IN THE
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>0015
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>  XX* PARAMETER LIST TO IEEMB881 BY MVS COMPONENTS
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>0020
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>  XX* STARTING FULL FUNCTION SYSTEM ADDRESS SPACES.
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>0025
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
>  IEFC653I SUBSTITUTION JCL - PGM=AXRINIT
> N 000 EXPR 23135 08:43:37.32  0090  IEF403I IEESYSAS -
> STARTED - TIME=08.43.37
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I IEFA111I
> IEESYSAS IS USING THE FOLLOWING JOB RELATED SETTINGS:
> N 000 EXPR 23135 08:43:37.32  0290  IEF196I
> SWA=BELOW,TIOT SIZE=32K,DSENQSHR=DISALLOW,GDGBIAS=JOB
> N 400 EXPR 23135 08:43:37.33  0090  AXR0101I SYSTEM
> REXX (AXR) IS ALREADY ACTIV

Re: System Rexx 2

2023-05-15 Thread Peter Ten Eyck
Simple exec:

/* REXX
   TRACE A 
   SAY 'Welcome to System Rexx'
exit 0 


Results:

NC000 EXPR 23135 08:43:37.27 FF00768  0290  F AXR,POCSYSR1  
  
N 020 EXPR 23135 08:43:37.29 STC02360 0281  $HASP100 AXR01ON 
STCINRDR 
N 400 EXPR 23135 08:43:37.30 STC02360 0090  $HASP373 AXR01
STARTED 
N 000 EXPR 23135 08:43:37.30 STC02360 0090  IEF403I AXR01 - STARTED 
- TIME=08.43.37   
N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  -   
   --TIMINGS (MINS.)--
S -PAGING 
COUNTS  
N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  -STEPNAME PROCSTEP
RC   EXCP   CONNTCBSRB  CLOCK   SERV
S   WORKLOAD  PAGE  SWAP   
VIO SWAPS  
N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  - AXRPSTRT
00  5  0.00.00 .0 55
S   STCPROD  0 0
 0 0  
N 000 EXPR 23135 08:43:37.31 STC02360 0090  IEF404I AXR01 - ENDED - 
TIME=08.43.37 
N 0004000 EXPR 23135 08:43:37.31 STC02360 0290  -AXR01ENDED.  NAME- 
TOTAL TCB CPU TIME=.00
S   TOTAL ELAPSED TIME=
.0 
N 400 EXPR 23135 08:43:37.31 STC02360 0281  $HASP395 AXR01ENDED 
- RC= 
N 000 EXPR 23135 08:43:37.31  0290  IEA989I SLIP TRAP 
ID=X33E MATCHED.  JOBNAME=*UNAVAIL, ASID=0076.  
MR000 EXPR 23135 08:43:37.32 FF00768  0090  AXR0203I AXREXX 
INVOCATION OF POCSYSR1 FAILED. 558
DR558 0090  RETCODE=0010 
RSNCODE=0437100B 
DR558 0090  
REQTOKEN=4000DD4CBED05FDE9C00 
ER558 0090  DIAG1= 
DIAG2= DIAG3= DIAG4=   
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 1 
//IEESYSAS JOB TIME=NOLIMIT,
N 000 EXPR 23135 08:43:37.32  0290  IEF196I   // 
MSGLEVEL=1\
   -DSLIST  *SDSF 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 2 //AXR 
 EXEC IEESYSAS,PROG=AXRINIT
N 000 EXPR 23135 08:43:37.32  0290  IEF196I  STMT NO. 
MESSAGE  
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 2 
IEFC001I PROCEDURE IEESYSAS WAS EXPANDED USING SYSTEM
N 000 EXPR 23135 08:43:37.32  0290  IEF196I LIBRARY 
SYS1.IBM.PROCLIB   
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 3 
XXIEESYSAS PROC PROG=IEFBR14 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 
  0005 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 4 
XXIEFPROC  EXEC PGM=
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 
  0010 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I   XX* 
THE IEESYSAS PROCEDURE IS SPECIFIED IN THE   
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 
  0015 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I   XX* 
PARAMETER LIST TO IEEMB881 BY MVS COMPONENTS 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 
  0020 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I   XX* 
STARTING FULL FUNCTION SYSTEM ADDRESS SPACES.
N 000 EXPR 23135 08:43:37.32  0290  IEF196I 
  0025 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I   
IEFC653I SUBSTITUTION JCL - PGM=AXRINIT  
N 000 EXPR 23135 08:43:37.32  0090  IEF403I IEESYSAS - 
STARTED - TIME=08.43.37 
N 000 EXPR 23135 08:43:37.32  0290  IEF196I IEFA111I

Re: System Rexx 2

2023-05-12 Thread Itschak Mugzach
More messages in the sysmod? Try run in trace on. The diagnostic info is

10 100B *Equate Symbol:* AXRAddrSpaceTerm

*Meaning:* The address space created to run an exec either terminated
before running the exec or while running the exec.

*Action:* If the address space was cancelled then there is no action. If
the address space was terminated unexpectedly, then contact IBM Service.
בתאריך יום ו׳, 12 במאי 2023 ב-17:48 מאת Ten Eyck, Peter <
04d3761a18a7-dmarc-requ...@listserv.ua.edu>:

> I was able to bounce AXR and pickup my newly defined REXXLIB:
>
> RESPONSE=EXPR
>  AXR0202I SYSREXX REXXLIB DISPLAY 150
> ENTRY VOLUME  DATA SET
>1   TST001  SYSP.EXPR.SYSREXX
>2   APRS02  SYS1.SAXREXEC
>
> When running my basic Rexx exec, I am getting this error:
>
> F AXR,POCSYSR1
>
> AXR0203I AXREXX INVOCATION OF POCSYSRX FAILED. 745
> RETCODE=0010 RSNCODE=0437100B
> REQTOKEN=4000DD48FD8B9F24B600
> DIAG1= DIAG2= DIAG3= DIAG4=
>
> The documentation does not give me much:
>
> Equate symbol: AXRAddrSpaceTerm
> Meaning: The address space created to run an exec either terminated before
> running the exec or while running the exec.
> Action: If the address space was cancelled then there is no action. If the
> address space was terminated unexpectedly, then contact IBM Service.
> Any recommendations?
>
> //* Peter Ten Eyck
> //* Systems Programming Team
> //* American National
> //
>
>
> 
> American National is the brand name for the direct and indirect insurance
> company subsidiaries of American National Group, LLC, a Delaware limited
> liability company. Those subsidiaries include American National Insurance
> Company, headquartered in Galveston, Texas, and its affiliates. Each
> company has financial responsibility only for its own products and
> services. American National Insurance Company is not licensed in New York.
> In New York, business is conducted by New York licensed affiliates. For
> more information, go to www.americannational.com.
> Confidentiality: This transmission, including any attachments, is solely
> for the use of the intended recipient(s). This transmission may contain
> information that is confidential or otherwise protected from disclosure.
> The use or disclosure of the information contained in this transmission,
> including any attachments, for any purpose other than that intended by its
> transmittal is strictly prohibited. Unauthorized interception of this email
> is a violation of federal criminal law. If you are not an intended
> recipient of this transmission, please immediately destroy all copies
> received and notify the sender.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


System Rexx 2

2023-05-12 Thread Ten Eyck, Peter
I was able to bounce AXR and pickup my newly defined REXXLIB:

RESPONSE=EXPR
 AXR0202I SYSREXX REXXLIB DISPLAY 150
ENTRY VOLUME  DATA SET
   1   TST001  SYSP.EXPR.SYSREXX
   2   APRS02  SYS1.SAXREXEC

When running my basic Rexx exec, I am getting this error:

F AXR,POCSYSR1

AXR0203I AXREXX INVOCATION OF POCSYSRX FAILED. 745
RETCODE=0010 RSNCODE=0437100B
REQTOKEN=4000DD48FD8B9F24B600
DIAG1= DIAG2= DIAG3= DIAG4=

The documentation does not give me much:

Equate symbol: AXRAddrSpaceTerm
Meaning: The address space created to run an exec either terminated before 
running the exec or while running the exec.
Action: If the address space was cancelled then there is no action. If the 
address space was terminated unexpectedly, then contact IBM Service.
Any recommendations?

//* Peter Ten Eyck
//* Systems Programming Team
//* American National
//



American National is the brand name for the direct and indirect insurance 
company subsidiaries of American National Group, LLC, a Delaware limited 
liability company. Those subsidiaries include American National Insurance 
Company, headquartered in Galveston, Texas, and its affiliates. Each company 
has financial responsibility only for its own products and services. American 
National Insurance Company is not licensed in New York. In New York, business 
is conducted by New York licensed affiliates. For more information, go to 
www.americannational.com.
Confidentiality: This transmission, including any attachments, is solely for 
the use of the intended recipient(s). This transmission may contain information 
that is confidential or otherwise protected from disclosure. The use or 
disclosure of the information contained in this transmission, including any 
attachments, for any purpose other than that intended by its transmittal is 
strictly prohibited. Unauthorized interception of this email is a violation of 
federal criminal law. If you are not an intended recipient of this 
transmission, please immediately destroy all copies received and notify the 
sender.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: [EXTERNAL] Re: System Rexx

2023-05-12 Thread Ten Eyck, Peter
Thanks, that worked.

The presentation that I was referencing said that AXR was non-cancelable. Upon 
review it is quite old, maybe that has changed.

//* Peter Ten Eyck
//* Systems Programming Team
//* American National
//

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Itschak Mugzach
Sent: Friday, May 12, 2023 9:46 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: System Rexx

Security First: This is an external email. Use caution clicking links or 
opening attachments.

SystemRexx can be recycled:
P axr
S axrpstrt

ITschak

בתאריך יום ו׳, 12 במאי 2023 ב-16:44 מאת Ten Eyck, Peter <
04d3761a18a7-dmarc-requ...@listserv.ua.edu>:

> Is there a way to dynamically add a datasets to the REXXLIB concatenation?
>
> I have an entry in SYS1.PARMLIB(AXR00): REXXLIB ADD
> DSN(SYSP.EXPR.SYSREXX), but have not found a way to pick it up without
> an IPL.
>
> //* Peter Ten Eyck
> //* Systems Programming Team
> //* American National
> //
>
>
> 
> American National is the brand name for the direct and indirect
> insurance company subsidiaries of American National Group, LLC, a
> Delaware limited liability company. Those subsidiaries include
> American National Insurance Company, headquartered in Galveston,
> Texas, and its affiliates. Each company has financial responsibility
> only for its own products and services. American National Insurance Company 
> is not licensed in New York.
> In New York, business is conducted by New York licensed affiliates.
> For more information, go to www.americannational.com.
> Confidentiality: This transmission, including any attachments, is
> solely for the use of the intended recipient(s). This transmission may
> contain information that is confidential or otherwise protected from 
> disclosure.
> The use or disclosure of the information contained in this
> transmission, including any attachments, for any purpose other than
> that intended by its transmittal is strictly prohibited. Unauthorized
> interception of this email is a violation of federal criminal law. If
> you are not an intended recipient of this transmission, please
> immediately destroy all copies received and notify the sender.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
--

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux and 
IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN


American National is the brand name for the direct and indirect insurance 
company subsidiaries of American National Group, LLC, a Delaware limited 
liability company. Those subsidiaries include American National Insurance 
Company, headquartered in Galveston, Texas, and its affiliates. Each company 
has financial responsibility only for its own products and services. American 
National Insurance Company is not licensed in New York. In New York, business 
is conducted by New York licensed affiliates. For more information, go to 
www.americannational.com.
Confidentiality: This transmission, including any attachments, is solely for 
the use of the intended recipient(s). This transmission may contain information 
that is confidential or otherwise protected from disclosure. The use or 
disclosure of the information contained in this transmission, including any 
attachments, for any purpose other than that intended by its transmittal is 
strictly prohibited. Unauthorized interception of this email is a violation of 
federal criminal law. If you are not an intended recipient of this 
transmission, please immediately destroy all copies received and notify the 
sender.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: System Rexx

2023-05-12 Thread Itschak Mugzach
SystemRexx can be recycled:
P axr
S axrpstrt

ITschak

בתאריך יום ו׳, 12 במאי 2023 ב-16:44 מאת Ten Eyck, Peter <
04d3761a18a7-dmarc-requ...@listserv.ua.edu>:

> Is there a way to dynamically add a datasets to the REXXLIB concatenation?
>
> I have an entry in SYS1.PARMLIB(AXR00): REXXLIB ADD
> DSN(SYSP.EXPR.SYSREXX), but have not found a way to pick it up without an
> IPL.
>
> //* Peter Ten Eyck
> //* Systems Programming Team
> //* American National
> //
>
>
> 
> American National is the brand name for the direct and indirect insurance
> company subsidiaries of American National Group, LLC, a Delaware limited
> liability company. Those subsidiaries include American National Insurance
> Company, headquartered in Galveston, Texas, and its affiliates. Each
> company has financial responsibility only for its own products and
> services. American National Insurance Company is not licensed in New York.
> In New York, business is conducted by New York licensed affiliates. For
> more information, go to www.americannational.com.
> Confidentiality: This transmission, including any attachments, is solely
> for the use of the intended recipient(s). This transmission may contain
> information that is confidential or otherwise protected from disclosure.
> The use or disclosure of the information contained in this transmission,
> including any attachments, for any purpose other than that intended by its
> transmittal is strictly prohibited. Unauthorized interception of this email
> is a violation of federal criminal law. If you are not an intended
> recipient of this transmission, please immediately destroy all copies
> received and notify the sender.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


System Rexx

2023-05-12 Thread Ten Eyck, Peter
Is there a way to dynamically add a datasets to the REXXLIB concatenation?

I have an entry in SYS1.PARMLIB(AXR00): REXXLIB ADD DSN(SYSP.EXPR.SYSREXX), but 
have not found a way to pick it up without an IPL.

//* Peter Ten Eyck
//* Systems Programming Team
//* American National
//



American National is the brand name for the direct and indirect insurance 
company subsidiaries of American National Group, LLC, a Delaware limited 
liability company. Those subsidiaries include American National Insurance 
Company, headquartered in Galveston, Texas, and its affiliates. Each company 
has financial responsibility only for its own products and services. American 
National Insurance Company is not licensed in New York. In New York, business 
is conducted by New York licensed affiliates. For more information, go to 
www.americannational.com.
Confidentiality: This transmission, including any attachments, is solely for 
the use of the intended recipient(s). This transmission may contain information 
that is confidential or otherwise protected from disclosure. The use or 
disclosure of the information contained in this transmission, including any 
attachments, for any purpose other than that intended by its transmittal is 
strictly prohibited. Unauthorized interception of this email is a violation of 
federal criminal law. If you are not an intended recipient of this 
transmission, please immediately destroy all copies received and notify the 
sender.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-07 Thread ITschak Mugzach
It's not. The exec will always run under the id of the user that started
it. It is exactly the same as running the exec under your own TSO.

ITschak

ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon  *




On Sun, May 7, 2023 at 3:54 PM Paul Gilmartin <
042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote:

> On Sun, 7 May 2023 04:43:27 -0500, Willy Jensen wrote:
>
> >This will issue any TSO command, but security-wise I think it opens a
> barn door.
> >
> Why is that not cause for an integrity APAR?  Wasn't the "barn door"
> already open?
>
> >Save it as member TSOCMD in your SYSREXX lib.
> >
> >/* general TSO command   rexx */
> > address tso arg(1)
> > Exit 0
> >
> >Sample use (@ is my SYSREXX command char):
> >
> >@TSOCMD LISTCAT ENT(SYS1.HELP)
>
> --
> gil
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-07 Thread Seymour J Metz
No, the barn door is the specific REXX code, not the command to invoke it.

BTW, where is the TSO environment documented for System Rexx? The authorized 
Services manual lists supported environments for TSO=NO but not for TSO=YES. 
And, yes, "environment" is another overloaded term; it has at least two 
relevant meanings in that section :-(


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Sunday, May 7, 2023 8:54 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: TSO command System Rexx

On Sun, 7 May 2023 04:43:27 -0500, Willy Jensen wrote:

>This will issue any TSO command, but security-wise I think it opens a barn 
>door.
>
Why is that not cause for an integrity APAR?  Wasn't the "barn door"
already open?

>Save it as member TSOCMD in your SYSREXX lib.
>
>/* general TSO command   rexx */
> address tso arg(1)
> Exit 0
>
>Sample use (@ is my SYSREXX command char):
>
>@TSOCMD LISTCAT ENT(SYS1.HELP)

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-07 Thread Paul Gilmartin
On Sun, 7 May 2023 04:43:27 -0500, Willy Jensen wrote:

>This will issue any TSO command, but security-wise I think it opens a barn 
>door.
>
Why is that not cause for an integrity APAR?  Wasn't the "barn door"
already open?

>Save it as member TSOCMD in your SYSREXX lib.
>
>/* general TSO command   rexx */
> address tso arg(1) 
> Exit 0  
>
>Sample use (@ is my SYSREXX command char):
>
>@TSOCMD LISTCAT ENT(SYS1.HELP)

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-07 Thread David Spiegel

Hi Willy,
In TSO (unlike PGM=IDCAMS), "EN" is sufficient.

Regards,
David

On 2023-05-07 05:43, Willy Jensen wrote:

This will issue any TSO command, but security-wise I think it opens a barn door.
Save it as member TSOCMD in your SYSREXX lib.

/* general TSO command   rexx */
  address tso arg(1)
  Exit 0

Sample use (@ is my SYSREXX command char):

@TSOCMD LISTCAT ENT(SYS1.HELP)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-07 Thread Willy Jensen
This will issue any TSO command, but security-wise I think it opens a barn door.
Save it as member TSOCMD in your SYSREXX lib.

/* general TSO command   rexx */
 address tso arg(1) 
 Exit 0  

Sample use (@ is my SYSREXX command char):

@TSOCMD LISTCAT ENT(SYS1.HELP)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-06 Thread Mark Jacobs
I was asking for more of a general routine ( I'm not a strong rexx programmer). 
I'm looking for a routine that would execute a arbitrary command like this;

SYSREXX TSOCMD DEFINE ALIAS(NAME(x) RELATE(its.catalog) 

Where TSOCMD accepts the information and executes it. 

Mark Jacobs 

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com


--- Original Message ---
On Saturday, May 6th, 2023 at 1:57 AM, ITschak Mugzach  
wrote:


> Oops, I missed read your question. Just enter the command as "tso cmd"
> 
> ITschak
> בתאריך יום ו׳, 5 במאי 2023 ב-20:52 מאת Mark Jacobs <
> 0224d287a4b1-dmarc-requ...@listserv.ua.edu>:
> 
> > Before I have to reinvent the command again, I forgot to take a copy from
> > $previousjob, does anyone have a rexx exec in their system rexx library
> > that executes a TSO command from a system rexx address space?
> > 
> > Mark Jacobs
> > 
> > Sent from ProtonMail, Swiss-based encrypted
> > email.
> > 
> > GPG Public Key -
> > https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com
> > 
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> ITschak Mugzach
> |* IronSphere Platform* | *Information Security Continuous Monitoring
> for z/OS, x/Linux & IBM I **| z/VM coming soon *
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-05 Thread ITschak Mugzach
Oops, I missed read your question. Just enter the command as "tso cmd"

ITschak
בתאריך יום ו׳, 5 במאי 2023 ב-20:52 מאת Mark Jacobs <
0224d287a4b1-dmarc-requ...@listserv.ua.edu>:

> Before I have to reinvent the command again, I forgot to take a copy from
> $previousjob, does anyone have a rexx exec in their system rexx library
> that executes a TSO command from a system rexx address space?
>
> Mark Jacobs
>
> Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted
> email.
>
> GPG Public Key -
> https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-05 Thread Mark Jacobs
Not quite what I meant. 

Mark Jacobs 

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com


--- Original Message ---
On Friday, May 5th, 2023 at 4:45 PM, Steve Smith  wrote:


> Here you go:
> 
> *** TOP OF DATA *
> 'TIME'
> *BOTTOM OF DATA 
> 
> Fully tested. Ur welcome.
> 
> sas
> 
> On Fri, May 5, 2023 at 1:52 PM Mark Jacobs <
> 0224d287a4b1-dmarc-requ...@listserv.ua.edu> wrote:
> 
> > Before I have to reinvent the command again, I forgot to take a copy from
> > $previousjob, does anyone have a rexx exec in their system rexx library
> > that executes a TSO command from a system rexx address space?
> > 
> > Mark Jacobs
> > 
> > Sent from ProtonMail, Swiss-based encrypted
> > email.
> > 
> > GPG Public Key -
> > https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com
> > 
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-05 Thread Steve Smith
Here you go:

*** TOP OF DATA *
'TIME'
*BOTTOM OF DATA 

Fully tested.  Ur welcome.

sas

On Fri, May 5, 2023 at 1:52 PM Mark Jacobs <
0224d287a4b1-dmarc-requ...@listserv.ua.edu> wrote:

> Before I have to reinvent the command again, I forgot to take a copy from
> $previousjob, does anyone have a rexx exec in their system rexx library
> that executes a TSO command from a system rexx address space?
>
> Mark Jacobs
>
> Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted
> email.
>
> GPG Public Key -
> https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TSO command System Rexx

2023-05-05 Thread ITschak Mugzach
Mark,

 Call axr mid 'cmd text '

ITschak
בתאריך יום ו׳, 5 במאי 2023 ב-20:52 מאת Mark Jacobs <
0224d287a4b1-dmarc-requ...@listserv.ua.edu>:

> Before I have to reinvent the command again, I forgot to take a copy from
> $previousjob, does anyone have a rexx exec in their system rexx library
> that executes a TSO command from a system rexx address space?
>
> Mark Jacobs
>
> Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted
> email.
>
> GPG Public Key -
> https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


TSO command System Rexx

2023-05-05 Thread Mark Jacobs
Before I have to reinvent the command again, I forgot to take a copy from 
$previousjob, does anyone have a rexx exec in their system rexx library that 
executes a TSO command from a system rexx address space?

Mark Jacobs

Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-04 Thread Paul Gilmartin
On Fri, 4 Nov 2022 13:35:38 +, Seymour J Metz wrote:

>You could certainly write code that sends output elsewhere, but I doubt that 
>you could affect the behavior of the SAY statement.
> 
I believe I've done it with:
ADDRESS SYSCALL dup2 some-descriptor 1

It takes effect immediately and affects both SAY and TRACE.  But I had wanted 
to be
able to redirect SAY but  not TRACEE.

See also the description of IRXSAY.

But can System REXX be invoked from a UNIX script?

>But I believe that Mr. Morgenstern's information is sufficient for writing a 
>REXX script in TSO that invokes a System REXX script and uses the output.

___
>From:  Paul Gilmartin
>Sent: Thursday, November 3, 2022 1:16 PM
>
>On Thu, 3 Nov 2022 15:28:18 +, Harris Morgenstern wrote:
>
>>All the command responses for MODIFY AXR, including output from SAY and 
>>AXRWTO are issued w/ the CART of the invoker.

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-04 Thread Seymour J Metz
You could certainly write code that sends output elsewhere, but I doubt that 
you could affect the behavior of the SAY statement.

But I believe that Mr. Morgenstern's information is sufficient for writing a 
REXX script in TSO that invokes a System REXX script and uses the output.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Thursday, November 3, 2022 1:16 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SYSTEM REXX use

On Thu, 3 Nov 2022 15:28:18 +, Harris Morgenstern wrote:

>All the command responses for MODIFY AXR, including output from SAY and AXRWTO 
>are issued w/ the CART of the invoker.
>
Might one direct output elsewhere with:
o  BPXWDYN( 'ALLOC ... );  EXECIO ...
o ADDRESS SYSDALL write ... ESC_N
o CALL LINEOUT ...

Or even add DSFS to the picture?

--
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-03 Thread Paul Gilmartin
On Thu, 3 Nov 2022 15:28:18 +, Harris Morgenstern wrote:

>All the command responses for MODIFY AXR, including output from SAY and AXRWTO 
>are issued w/ the CART of the invoker.
>
Might one direct output elsewhere with:
o  BPXWDYN( 'ALLOC ... );  EXECIO ...
o ADDRESS SYSDALL write ... ESC_N
o CALL LINEOUT ...

Or even add DSFS to the picture?

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


SYSTEM REXX use

2022-11-03 Thread Harris Morgenstern
All the command responses for MODIFY AXR, including output from SAY and AXRWTO 
are issued w/ the CART of the invoker.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-02 Thread Seymour J Metz
If I issue a MODIFY AXR with a CART, are messages from the REXX address space 
associated with that CART?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Dana Mitchell [mitchd...@gmail.com]
Sent: Tuesday, November 1, 2022 3:55 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SYSTEM REXX use

F AXR,REXXTEST
AXR0500I AXREXX OUTPUT DISPLAY 889
EXECNAME=REXXTEST REQTOKEN=4000DC57E5671A5C6E10
Test Message




On Tue, 1 Nov 2022 18:15:59 +, Seymour J Metz  wrote:

>Where does the output of say go?

Thanks

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


SYSTEM REXX use

2022-11-02 Thread Kenneth J. Kripke
A thank you note to all that responded to my inquiry. 

Thank you for clarifying the use of SYSTEM REXX. 

 

Kenneth J. Kripke

 

k.kri...@comcast.net <mailto:k.kri...@comcast.net>   

 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-01 Thread Dana Mitchell
F AXR,REXXTEST
AXR0500I AXREXX OUTPUT DISPLAY 889
EXECNAME=REXXTEST REQTOKEN=4000DC57E5671A5C6E10   
Test Message  




On Tue, 1 Nov 2022 18:15:59 +, Seymour J Metz  wrote:

>Where does the output of say go?

Thanks

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-01 Thread Gibney, Dave
SYSLOG, There's a msg id I could give you, if I had a system

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Seymour J Metz
> Sent: Tuesday, November 01, 2022 11:16 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: SYSTEM REXX use
> 
> 
> Where does the output of say go?
> 
> Thanks.
> 
> 
> 
> From: IBM Mainframe Discussion List  on
> behalf of ITschak Mugzach 
> Sent: Tuesday, November 1, 2022 2:12 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: SYSTEM REXX use
> 
> Seymour,
> 
> TSO is supported by SystemRexx, including OMVS. The modify command will
> always route the exec to run under axr stc having TSO=YES.
> 
> Best
> ITschak
> 
> Sa
> בתאריך יום ג׳, 1 בנוב׳ 2022 ב-18:16 מאת Seymour J Metz :
> 
> > You can submit a MODIFY AXR command from TSO, but the code doesn't
> run in
> > the TSO address space and doesn't have access to TSO services.
> >
> > 
> > From: IBM Mainframe Discussion List  on
> behalf
> > of Kenneth J. Kripke <0000046fa3a8ef80-dmarc-
> requ...@listserv.ua.edu>
> > Sent: Monday, October 31, 2022 9:36 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: SYSTEM REXX use
> >
> > Hello;
> >
> >  I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I
> > am
> > not familiar with how to invoke it and so forth.
> >
> > Can functions be called from a TSO REXX environment, and, if so, how do I
> > establish a connection to AXR?
> >
> >
> >
> > Kenneth J. Kripke
> >
> >
> >
> > k.kri...@comcast.net <mailto:k.kri...@comcast.net>
> >
> >
> >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-01 Thread Seymour J Metz
Where does the output of say go?

Thanks.



From: IBM Mainframe Discussion List  on behalf of 
ITschak Mugzach 
Sent: Tuesday, November 1, 2022 2:12 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SYSTEM REXX use

Seymour,

TSO is supported by SystemRexx, including OMVS. The modify command will
always route the exec to run under axr stc having TSO=YES.

Best
ITschak

Sa
בתאריך יום ג׳, 1 בנוב׳ 2022 ב-18:16 מאת Seymour J Metz :

> You can submit a MODIFY AXR command from TSO, but the code doesn't run in
> the TSO address space and doesn't have access to TSO services.
>
> 
> From: IBM Mainframe Discussion List  on behalf
> of Kenneth J. Kripke <046fa3a8ef80-dmarc-requ...@listserv.ua.edu>
> Sent: Monday, October 31, 2022 9:36 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SYSTEM REXX use
>
> Hello;
>
>      I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I
> am
> not familiar with how to invoke it and so forth.
>
> Can functions be called from a TSO REXX environment, and, if so, how do I
> establish a connection to AXR?
>
>
>
> Kenneth J. Kripke
>
>
>
> k.kri...@comcast.net <mailto:k.kri...@comcast.net>
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-01 Thread ITschak Mugzach
Seymour,

TSO is supported by SystemRexx, including OMVS. The modify command will
always route the exec to run under axr stc having TSO=YES.

Best
ITschak

Sa
בתאריך יום ג׳, 1 בנוב׳ 2022 ב-18:16 מאת Seymour J Metz :

> You can submit a MODIFY AXR command from TSO, but the code doesn't run in
> the TSO address space and doesn't have access to TSO services.
>
> 
> From: IBM Mainframe Discussion List  on behalf
> of Kenneth J. Kripke <046fa3a8ef80-dmarc-requ...@listserv.ua.edu>
> Sent: Monday, October 31, 2022 9:36 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SYSTEM REXX use
>
> Hello;
>
>      I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I
> am
> not familiar with how to invoke it and so forth.
>
> Can functions be called from a TSO REXX environment, and, if so, how do I
> establish a connection to AXR?
>
>
>
> Kenneth J. Kripke
>
>
>
> k.kri...@comcast.net <mailto:k.kri...@comcast.net>
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-01 Thread Seymour J Metz
You can submit a MODIFY AXR command from TSO, but the code doesn't run in the 
TSO address space and doesn't have access to TSO services.


From: IBM Mainframe Discussion List  on behalf of 
Kenneth J. Kripke <046fa3a8ef80-dmarc-requ...@listserv.ua.edu>
Sent: Monday, October 31, 2022 9:36 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SYSTEM REXX use

Hello;

 I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I am
not familiar with how to invoke it and so forth.

Can functions be called from a TSO REXX environment, and, if so, how do I
establish a connection to AXR?



Kenneth J. Kripke



k.kri...@comcast.net <mailto:k.kri...@comcast.net>




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-11-01 Thread Wendell Lovewell
Hi Ken. 

You may probably(?) already have an AXR00 PARMLIB member (or some other suffix, 
pointed to from IEASYSxx via the AXR=(xx) parameter.

The AXRxx member lets you define a prefix character (like $ for JES2) that 
provides an alternative to using F AXR,rexxname:

/***/
  
/* THIS IS A SAMPLE AXR00   MEMBER OF SYS1.PARMLIB  */  
/***/
  
CPF('@',SYSPLEX)/* 1st char is SYSREXX prefix char */
AXRUSER(IBMUSER)

REXXLIB ADD DSN(USER.SAXREXEC) 
REXXLIB ADD DSN(ADCD.)
REXXLIB ADD DSN(SYS1.SAXREXEC)
--

With the above version of AXR00 in use, system rexx routines can be stored in 
any of the 3 REXXLIB libraries listed.  And they can be started by just 
entering "@rexxname".

So if I have a system Rexx routine named TCPTRACE, instead of starting it with 
F AXR,TCPTRACE, I can just type @TCPTRACE START 10.1.1.1

I don't believe TSO facilities are available, so this may not be what you're 
looking for. 

Hth.

~Wendell Lovewell

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-10-31 Thread Gibney, Dave
System Rexx is quite useful. I used it to replace CA-7 and CA-OPS when we 
dropped our CA licenses last year.
Granted, we where on the path towards today's final shutdown and our automation 
needs where diminishing.

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Farley, Peter
> Sent: Monday, October 31, 2022 9:00 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: SYSTEM REXX use
> 
> [EXTERNAL EMAIL]
> 
> System Rexx runs Rexx programs in an isolated, **APF authorized**
> environment, so the only way to run a Rexx program under the AXR task is to
> use an operator MODIFY command to the AXR service to tell it to run your
> Rexx in that address space.
> 
> This reference explains what System Rexx really is:
> 
> https://urldefense.com/v3/__https://www.ibm.com/docs/en/zos/2.5.0?top
> ic=guide-system-rexx__;!!JmPEgBY0HMszNaDT!sGzD1kTF-
> VRnIRQ9cQWgiVsChCNgXa5aqSM35jEcXyTIhvt-
> 0GU9U3mQVO9WSx9RBTblYqJQzo8gd4XKb9kS5TGZRlAytfYQ$
> 
> Basically, you can't run your Rexx from plain JCL or normal TSO, you have to
> have authorization to use the operator MODIFY command and your Rexx
> must be accessible to the AXR STC in a library to which the STC has access.
> 
> Not intended for "normal" Rexx applications, and probably only useful to
> system programmers and other authority-privileged teams.
> 
> HTH
> 
> Peter
> 
> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Kenneth J. Kripke
> Sent: Monday, October 31, 2022 9:36 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SYSTEM REXX use
> 
> Hello;
> 
>  I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I am
> not familiar with how to invoke it and so forth.
> 
> Can functions be called from a TSO REXX environment, and, if so, how do I
> establish a connection to AXR?
> 
> 
> 
> Kenneth J. Kripke
> --
> 
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential. If
> the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by e-mail
> and delete the message and any attachments from your system.
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-10-31 Thread Farley, Peter
System Rexx runs Rexx programs in an isolated, **APF authorized** environment, 
so the only way to run a Rexx program under the AXR task is to use an operator 
MODIFY command to the AXR service to tell it to run your Rexx in that address 
space.

This reference explains what System Rexx really is:

https://www.ibm.com/docs/en/zos/2.5.0?topic=guide-system-rexx

Basically, you can't run your Rexx from plain JCL or normal TSO, you have to 
have authorization to use the operator MODIFY command and your Rexx must be 
accessible to the AXR STC in a library to which the STC has access.

Not intended for "normal" Rexx applications, and probably only useful to system 
programmers and other authority-privileged teams.

HTH

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Kenneth J. Kripke
Sent: Monday, October 31, 2022 9:36 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SYSTEM REXX use

Hello;

 I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I am
not familiar with how to invoke it and so forth.  

Can functions be called from a TSO REXX environment, and, if so, how do I
establish a connection to AXR?  

 

Kenneth J. Kripke
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-10-31 Thread Itschak Mugzach
F axr,yourexx (from console interfaces  such as console command, isfexec,
etc). place Rex library in AXRxx of parmlib.
Also can be driven from healthchecker.

ITschak


בתאריך יום ב׳, 31 באוק׳ 2022 ב-16:21 מאת Bob Bridges :

> Dunno what AXR is, but you can write a REXX program and put it in the same
> library as one of your CLISTs, then run it the same way.  I've used REXX to
> automate operations in IOF, SDSF, TSS, RACF, ACF2, FTP, ISPF, DYL-280II,
> DB2
> and QMF,  and no doubt a bunch of things I can't remember just now.  I
> mostly write tools that operate as foreground commands and ETL functions,
> but it's easy enough to run in batch, too, for which purpose I mostly use
> IKJEFT01.
>
> I'm not sure how much this helps; keep asking questions if you aren't
> either.
>
> ---
> Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
>
> /* The hardest pitch for an umpire to call is the half-swing.  Did he or
> didn't he?  Only the slow-motion cameraman and every baseball fan in the
> world know for sure.  -Major league umpire Ron Luciano in _The Umpire
> Strikes Back_ */
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of
> Kenneth J. Kripke
> Sent: Monday, October 31, 2022 09:36
>
>  I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I
> am
> not familiar with how to invoke it and so forth.
>
> Can functions be called from a TSO REXX environment, and, if so, how do I
> establish a connection to AXR?
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-10-31 Thread Sri h Kolusu
>> how do I establish a connection to AXR?  

Check this 

https://www.ibm.com/docs/en/zos/2.5.0?topic=command-communicating-system-rexx

Thanks,
Kolusu

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX use

2022-10-31 Thread Bob Bridges
Dunno what AXR is, but you can write a REXX program and put it in the same
library as one of your CLISTs, then run it the same way.  I've used REXX to
automate operations in IOF, SDSF, TSS, RACF, ACF2, FTP, ISPF, DYL-280II, DB2
and QMF,  and no doubt a bunch of things I can't remember just now.  I
mostly write tools that operate as foreground commands and ETL functions,
but it's easy enough to run in batch, too, for which purpose I mostly use
IKJEFT01.

I'm not sure how much this helps; keep asking questions if you aren't
either.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* The hardest pitch for an umpire to call is the half-swing.  Did he or
didn't he?  Only the slow-motion cameraman and every baseball fan in the
world know for sure.  -Major league umpire Ron Luciano in _The Umpire
Strikes Back_ */

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
Kenneth J. Kripke
Sent: Monday, October 31, 2022 09:36

 I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I am
not familiar with how to invoke it and so forth.  

Can functions be called from a TSO REXX environment, and, if so, how do I
establish a connection to AXR?  

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


SYSTEM REXX use

2022-10-31 Thread Kenneth J. Kripke
Hello;

 I am looking at the capabilities of SYSTEM REXX on a Z/OS system.  I am
not familiar with how to invoke it and so forth.  

Can functions be called from a TSO REXX environment, and, if so, how do I
establish a connection to AXR?  

 

Kenneth J. Kripke

 

k.kri...@comcast.net <mailto:k.kri...@comcast.net>   

 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX

2022-08-01 Thread Scott Fagen
On Fri, 15 Jul 2022 14:03:30 +, Harris Morgenstern  
wrote:

>The AXRWTO, AXRWTOR etc. external functions are only available when running 
>under System REXX.You'll need to add your exec to a data set in the 
>REXXLIB concatenation and run it as a system command via MODIFY
> AXR,xxx   where xxx is the name of your exec.

More info here:  
https://www.ibm.com/docs/en/zos/2.5.0?topic=command-communicating-system-rexx

Note that REXXLIB is a "system-wide" specification -- you will have to ensure 
that your test EXECs do not have names that match current production level 
EXECs.

Scott Fagen
Sirius Computer Solutions, A CDW company

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


SYSTEM REXX

2022-07-15 Thread Harris Morgenstern
The AXRWTO, AXRWTOR etc. external functions are only available when running 
under System REXX.You'll need to add your exec to a data set in the REXXLIB 
concatenation and run it as a system command via MODIFY AXR,xxx   where xxx is 
the name of your exec.







--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX

2022-07-15 Thread Styles, Andy (ITS zPlatform Services)
Classification: Public

System REXX is documented in the most obvious of places - the z/OS MVS 
Programming: Authorised Assembler Services Guide, chapter 31. 

https://www.ibm.com/docs/en/zos/2.5.0?topic=guide-system-rexx
 
Andy Styles
z/Series Systems Programmer

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
René Jansen
Sent: 15 July 2022 10:49
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SYSTEM REXX

*** This email is from an external source - be careful of attachments and 
links. Please report suspicious emails ***

Not official documentation, but we had an interesting presentation on System 
Rexx by Harris Morgenstern of the System Rexx team at the 2010 International 
Rexx Language Symposium.
It is here: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhome.rexxla.org%2Fpresentations%2F2010%2FSysrexxSymposium2010.pdfdata=05%7C01%7CAndy.Styles%40LloydsBanking.com%7Ce00b6a79502e4ac8dcb508da664758fe%7C3ded2960214a46ff8cf4611f125e2398%7C0%7C0%7C637934754386709032%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=ihgXV1FtWO%2BcSm4vaBjS2kGnS98vfPnXgg34Ep53IA0%3Dreserved=0
 
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhome.rexxla.org%2Fpresentations%2F2010%2FSysrexxSymposium2010.pdfdata=05%7C01%7CAndy.Styles%40LloydsBanking.com%7Ce00b6a79502e4ac8dcb508da664758fe%7C3ded2960214a46ff8cf4611f125e2398%7C0%7C0%7C637934754386709032%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=ihgXV1FtWO%2BcSm4vaBjS2kGnS98vfPnXgg34Ep53IA0%3Dreserved=0>

René.


> On 15 Jul 2022, at 11:41, Seymour J Metz  wrote:
>
> You can certainly initialize REXX in a TSO session to support other 
> environments, but I doubt that the System REXX environments would work under 
> TSO.
>
> Where in z/OS Internet Library > z/OS V2R5 Library 
> (<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww-40.ibm.com%2Fservers%2Fresourcelink%2Fsvc00100.nsf%2Fpages%2FzOSV2R5Library%3FOpenDocumentdata=05%7C01%7CAndy.Styles%40LloydsBanking.com%7Ce00b6a79502e4ac8dcb508da664758fe%7C3ded2960214a46ff8cf4611f125e2398%7C0%7C0%7C637934754386709032%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=O70UrBkP88GXK43ne%2F0dJc0jyiTXl4V%2BTOOM9XfREwk%3Dreserved=0>)
>  are the System REXX manuals listed?
>
>
>
> --
> Shmuel (Seymour J.) Metz
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmason
> .gmu.edu%2F~smetz3data=05%7C01%7CAndy.Styles%40LloydsBanking.com%
> 7Ce00b6a79502e4ac8dcb508da664758fe%7C3ded2960214a46ff8cf4611f125e2398%
> 7C0%7C0%7C637934754386709032%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM
> DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C
> sdata=B07VrPns6d%2BondZ9lXGUNr3mkwVHtiP80518Yt48PJ4%3Dreserved=0
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on 
> behalf of Kenneth J. Kripke [k.kri...@comcast.net]
> Sent: Thursday, July 14, 2022 2:20 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SYSTEM REXX
>
> Apologies for asking, but, I am attempting to use SYSTEM REXX to test out 
> various automation rules.
> I would like to know what is needed to establish the environment to invoke 
> some of the functions such as AXRWTO, AXRWTOR, etc.
> I am attempting to issue the calls through standard TSO REXX.
>
> Sincerely;
>
> Kenneth J. Kripke
> k.kri...@comcast.net
>
> Sent from Mail for Windows
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. 
Registered in Scotland no. SC95000. Telephone: 0131 225 4555.

Lloyds Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. 
Registered in England and Wales no. 2065. Telephone 0207626 1500.

Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. 
Registered in Scotland no. SC327000. Telephone: 03457 801 801.

Lloyds Bank Corporate Markets plc. Registered office: 25 Gresham Street, London 
EC2V 7HN. Registered in England and Wales no. 10399850.

Scottish Widows Schroder Personal Wealth Limited. Registered Offic

Re: SYSTEM REXX

2022-07-15 Thread René Jansen
Not official documentation, but we had an interesting presentation on System 
Rexx by Harris Morgenstern of the System Rexx team at the 2010 International 
Rexx Language Symposium.
It is here: https://home.rexxla.org/presentations/2010/SysrexxSymposium2010.pdf 
<https://home.rexxla.org/presentations/2010/SysrexxSymposium2010.pdf>

René.


> On 15 Jul 2022, at 11:41, Seymour J Metz  wrote:
> 
> You can certainly initialize REXX in a TSO session to support other 
> environments, but I doubt that the System REXX environments would work under 
> TSO.
> 
> Where in z/OS Internet Library > z/OS V2R5 Library 
> (<https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R5Library?OpenDocument>)
>  are the System REXX manuals listed?
> 
> 
> 
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
> 
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Kenneth J. Kripke [k.kri...@comcast.net]
> Sent: Thursday, July 14, 2022 2:20 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SYSTEM REXX
> 
> Apologies for asking, but, I am attempting to use SYSTEM REXX to test out 
> various automation rules.
> I would like to know what is needed to establish the environment to invoke 
> some of the functions such as AXRWTO, AXRWTOR, etc.
> I am attempting to issue the calls through standard TSO REXX.
> 
> Sincerely;
> 
> Kenneth J. Kripke
> k.kri...@comcast.net
> 
> Sent from Mail for Windows
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SYSTEM REXX

2022-07-15 Thread Seymour J Metz
You can certainly initialize REXX in a TSO session to support other 
environments, but I doubt that the System REXX environments would work under 
TSO.

Where in z/OS Internet Library > z/OS V2R5 Library 
(<https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R5Library?OpenDocument>)
 are the System REXX manuals listed?



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Kenneth J. Kripke [k.kri...@comcast.net]
Sent: Thursday, July 14, 2022 2:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SYSTEM REXX

Apologies for asking, but, I am attempting to use SYSTEM REXX to test out 
various automation rules.
I would like to know what is needed to establish the environment to invoke some 
of the functions such as AXRWTO, AXRWTOR, etc.
I am attempting to issue the calls through standard TSO REXX.

Sincerely;

Kenneth J. Kripke
k.kri...@comcast.net

Sent from Mail for Windows


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


SYSTEM REXX

2022-07-14 Thread Kenneth J. Kripke
Apologies for asking, but, I am attempting to use SYSTEM REXX to test out 
various automation rules.  
I would like to know what is needed to establish the environment to invoke some 
of the functions such as AXRWTO, AXRWTOR, etc. 
I am attempting to issue the calls through standard TSO REXX.  

Sincerely; 

Kenneth J. Kripke
k.kri...@comcast.net

Sent from Mail for Windows


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-06 Thread Lionel B Dyck
I tried to look at that RFE so I could vote for it but was told I wasn't 
authorized ☹


Lionel B. Dyck <
Website: https://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Harris Morgenstern
Sent: Tuesday, October 6, 2020 8:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: How to Refresh System REXX Libraries

To refresh the System REXX libraries, you'll need to stop System REXX, update 
AXRxx parmlib members and restart it. 
There is an open RFE against System REXX  (#49562)  to address this issue 
(Dynamic Reconfiguration of System REXX). 
 


Harris Morgenstern
z/OS Storage Management and System REXX
Dept. OBPA
IBM Poughkeepsie
8-295-4221
hmor...@us.ibm.com


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


How to Refresh System REXX Libraries

2020-10-06 Thread Harris Morgenstern
To refresh the System REXX libraries, you'll need to stop System REXX, 
update AXRxx parmlib members and restart it. 
There is an open RFE against System REXX  (#49562)  to address this issue 
(Dynamic Reconfiguration of System REXX). 
 


Harris Morgenstern
z/OS Storage Management and System REXX
Dept. OBPA
IBM Poughkeepsie
8-295-4221 
hmor...@us.ibm.com


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Lionel B Dyck
P AXR works 


Lionel B. Dyck <
Website: https://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Dana Mitchell
Sent: Monday, October 5, 2020 11:53 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How to Refresh System REXX Libraries

On Mon, 5 Oct 2020 10:56:57 -0500, Lionel B Dyck  wrote:

>Great idea but no joy 
>
> 
>
>You get AXR0101I   SYSTEM REXX (AXR) IS ALREADY ACTIVE  
>

FM says you can FORCE AXR,ARM   it but that seems a little harsh

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Dana Mitchell
On Mon, 5 Oct 2020 10:56:57 -0500, Lionel B Dyck  wrote:

>Great idea but no joy 
>
> 
>
>You get AXR0101I   SYSTEM REXX (AXR) IS ALREADY ACTIVE  
>

FM says you can FORCE AXR,ARM   it but that seems a little harsh

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Gibney, Dave
This issue comes up when you wish to add 
REXXLIB ADD DSN(xxx.testcopy)
Ahead of xxx, or 
REXXLIB ADD DSN(xxx.alllpars) after, or other changes to the AXR concatenation.

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Jesse 1 Robinson
> Sent: Monday, October 05, 2020 9:37 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: How to Refresh System REXX Libraries
> 
> I'm not well versed in system Rexx, but our setup has the main AXR proc
> pointing to an installation library via a member in PARMLIB:
> 
> REXXLIB ADD DSN(xxx)
> 
> The idea is that local Rexx code lives in the local library so that it can be
> updated without having to restart AXR.
> 
> 
> 
> 
> 
> .
> .
> J.O.Skip Robinson
> Southern California Edison Company
> Electric Dragon Team Paddler
> SHARE MVS Program Co-Manager
> 323-715-0595 Mobile
> 626-543-6132 Office ⇐=== NEW
> robin...@sce.com
> 
> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Lionel B Dyck
> Sent: Monday, October 5, 2020 8:57 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: (External):Re: How to Refresh System REXX Libraries
> 
> CAUTION EXTERNAL EMAIL
> 
> Great idea but no joy 
> 
> 
> 
> You get AXR0101I   SYSTEM REXX (AXR) IS ALREADY ACTIVE
> 
> 
> 
> And the comment is:
> 
> 
> 
> Explanation
> 
> A request to start System REXX was received, however it is already active.
> 
> 
> 
> System action
> 
> The system ignores the start request.
> 
> 
> 
> 
> 
> Lionel B. Dyck <
> 
> Website:
> https://urldefense.com/v3/__https://www.lbdsoftware.com__;!!JmPEgBY0
> HMszNaDT!-
> gZixPXIgEJJI3oaMNrvNXrtGq81CtxGdvHmqZpqkUNUP9CVtXt0TE7Uzz57XQ$
> 
> 
> 
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
> 
> 
> 
> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Dana Mitchell
> Sent: Monday, October 5, 2020 10:42 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: How to Refresh System REXX Libraries
> 
> 
> 
> On Mon, 5 Oct 2020 09:43:38 -0500, Lionel B Dyck <
> <mailto:lbd...@gmail.com> lbd...@gmail.com> wrote:
> 
> 
> 
> >I see commands for system rexx (axr) to display the status, list the
> 
> >rexx libraries, to start it and to stop it.
> 
> >
> 
> >
> 
> >BUT I don't see a command to cause it to re-read the parmlib member or
> 
> >to add a library dynamically.
> 
> >
> 
> >
> 
> 
> 
> Lionel,  Does starting it with a member suffix cause it to update the list of
> libraries?  The FM  isn't too clear on what exactly it does:
> 
> 
> 
> START AXRPSTRT
> 
> START AXRPSTRT,AXR=aa
> 
> START AXRPSTRT,AXR=(aa,bb,...)
> 
> 
> 
> Dana
> 
> 
> 
> --
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Lionel B Dyck
We have that as well - we had a need to add an additional library which raised 
the question.

Thanks


Lionel B. Dyck <
Website: https://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Jesse 1 Robinson
Sent: Monday, October 5, 2020 11:37 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How to Refresh System REXX Libraries

I'm not well versed in system Rexx, but our setup has the main AXR proc 
pointing to an installation library via a member in PARMLIB:

REXXLIB ADD DSN(xxx)

The idea is that local Rexx code lives in the local library so that it can be 
updated without having to restart AXR. 





.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Lionel B Dyck
Sent: Monday, October 5, 2020 8:57 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: How to Refresh System REXX Libraries

CAUTION EXTERNAL EMAIL

Great idea but no joy 



You get AXR0101I   SYSTEM REXX (AXR) IS ALREADY ACTIVE



And the comment is:



Explanation

A request to start System REXX was received, however it is already active.



System action

The system ignores the start request.





Lionel B. Dyck <

Website: https://www.lbdsoftware.com



"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden



-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Dana Mitchell
Sent: Monday, October 5, 2020 10:42 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How to Refresh System REXX Libraries



On Mon, 5 Oct 2020 09:43:38 -0500, Lionel B Dyck < <mailto:lbd...@gmail.com> 
lbd...@gmail.com> wrote:



>I see commands for system rexx (axr) to display the status, list the

>rexx libraries, to start it and to stop it.

>

>

>BUT I don't see a command to cause it to re-read the parmlib member or

>to add a library dynamically.

>

>



Lionel,  Does starting it with a member suffix cause it to update the list of 
libraries?  The FM  isn't too clear on what exactly it does:



START AXRPSTRT

START AXRPSTRT,AXR=aa

START AXRPSTRT,AXR=(aa,bb,...)



Dana



--


--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Jesse 1 Robinson
I'm not well versed in system Rexx, but our setup has the main AXR proc 
pointing to an installation library via a member in PARMLIB:

REXXLIB ADD DSN(xxx)

The idea is that local Rexx code lives in the local library so that it can be 
updated without having to restart AXR. 





.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Lionel B Dyck
Sent: Monday, October 5, 2020 8:57 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: How to Refresh System REXX Libraries

CAUTION EXTERNAL EMAIL

Great idea but no joy 



You get AXR0101I   SYSTEM REXX (AXR) IS ALREADY ACTIVE



And the comment is:



Explanation

A request to start System REXX was received, however it is already active.



System action

The system ignores the start request.





Lionel B. Dyck <

Website: https://www.lbdsoftware.com



"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden



-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Dana Mitchell
Sent: Monday, October 5, 2020 10:42 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How to Refresh System REXX Libraries



On Mon, 5 Oct 2020 09:43:38 -0500, Lionel B Dyck < <mailto:lbd...@gmail.com> 
lbd...@gmail.com> wrote:



>I see commands for system rexx (axr) to display the status, list the

>rexx libraries, to start it and to stop it.

>

>

>BUT I don't see a command to cause it to re-read the parmlib member or

>to add a library dynamically.

>

>



Lionel,  Does starting it with a member suffix cause it to update the list of 
libraries?  The FM  isn't too clear on what exactly it does:



START AXRPSTRT

START AXRPSTRT,AXR=aa

START AXRPSTRT,AXR=(aa,bb,...)



Dana



--


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Gibney, Dave
I looked closely at this awjile ago. It appears, that at least at the z/OS 2.1 
level, changing the AXR libraries was still an IPL change. Haven't looked at 
z/OS 2.3 doc yet.

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Lionel B Dyck
> Sent: Monday, October 05, 2020 8:57 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: How to Refresh System REXX Libraries
> 
> Great idea but no joy 
> 
> 
> 
> You get AXR0101I   SYSTEM REXX (AXR) IS ALREADY ACTIVE
> 
> 
> 
> And the comment is:
> 
> ====
> 
> Explanation
> 
> A request to start System REXX was received, however it is already active.
> 
> 
> 
> System action
> 
> The system ignores the start request.
> 
> 
> 
> 
> 
> Lionel B. Dyck <
> 
> Website:
> https://urldefense.com/v3/__https://www.lbdsoftware.com__;!!JmPEgBY0
> HMszNaDT!5psaEAlUayxKHSv0cM6USWQdyGuon9DQfXH8PRkomJbvQ3S8h2
> W32QnklX9wQQ$
> 
> 
> 
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
> 
> 
> 
> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Dana Mitchell
> Sent: Monday, October 5, 2020 10:42 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: How to Refresh System REXX Libraries
> 
> 
> 
> On Mon, 5 Oct 2020 09:43:38 -0500, Lionel B Dyck <
> <mailto:lbd...@gmail.com> lbd...@gmail.com> wrote:
> 
> 
> 
> >I see commands for system rexx (axr) to display the status, list the
> 
> >rexx libraries, to start it and to stop it.
> 
> >
> 
> >
> 
> >BUT I don't see a command to cause it to re-read the parmlib member or
> 
> >to add a library dynamically.
> 
> >
> 
> >
> 
> 
> 
> Lionel,  Does starting it with a member suffix cause it to update the list of
> libraries?  The FM  isn't too clear on what exactly it does:
> 
> 
> 
> START AXRPSTRT
> 
> START AXRPSTRT,AXR=aa
> 
> START AXRPSTRT,AXR=(aa,bb,...)
> 
> 
> 
> Dana
> 
> 
> 
> --
> 
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> <mailto:lists...@listserv.ua.edu> lists...@listserv.ua.edu with the message:
> INFO IBM-MAIN
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Lionel B Dyck
Great idea but no joy 

 

You get AXR0101I   SYSTEM REXX (AXR) IS ALREADY ACTIVE  

 

And the comment is:  



Explanation 
 

A request to start System REXX was received, however it is already active.   

 

System action

The system ignores the start request. 


   

 

Lionel B. Dyck <

Website: https://www.lbdsoftware.com

 

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

 

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Dana Mitchell
Sent: Monday, October 5, 2020 10:42 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How to Refresh System REXX Libraries

 

On Mon, 5 Oct 2020 09:43:38 -0500, Lionel B Dyck < <mailto:lbd...@gmail.com> 
lbd...@gmail.com> wrote:

 

>I see commands for system rexx (axr) to display the status, list the 

>rexx libraries, to start it and to stop it.

> 

> 

>BUT I don't see a command to cause it to re-read the parmlib member or 

>to add a library dynamically.

> 

> 

 

Lionel,  Does starting it with a member suffix cause it to update the list of 
libraries?  The FM  isn't too clear on what exactly it does:

 

START AXRPSTRT

START AXRPSTRT,AXR=aa

START AXRPSTRT,AXR=(aa,bb,...)

 

Dana

 

--

For IBM-MAIN subscribe / signoff / archive access instructions, send email to  
<mailto:lists...@listserv.ua.edu> lists...@listserv.ua.edu with the message: 
INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How to Refresh System REXX Libraries

2020-10-05 Thread Dana Mitchell
On Mon, 5 Oct 2020 09:43:38 -0500, Lionel B Dyck  wrote:

>I see commands for system rexx (axr) to display the status, list the rexx
>libraries, to start it and to stop it.
>
>
>BUT I don't see a command to cause it to re-read the parmlib member or to
>add a library dynamically.
>
>

Lionel,  Does starting it with a member suffix cause it to update the list of 
libraries?  The FM  isn't too clear on what exactly it does:

START AXRPSTRT
START AXRPSTRT,AXR=aa
START AXRPSTRT,AXR=(aa,bb,...)

Dana

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


How to Refresh System REXX Libraries

2020-10-05 Thread Lionel B Dyck
I see commands for system rexx (axr) to display the status, list the rexx
libraries, to start it and to stop it.


BUT I don't see a command to cause it to re-read the parmlib member or to
add a library dynamically.

 

Am I missing something?

 

Thanks in advance

 

 

Lionel B. Dyck <
Website:  <https://www.lbdsoftware.com> https://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what
you are, reputation merely what others think you are." - John Wooden

 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-25 Thread Harris Morgenstern
Just to summarize:

MODIFY AXR,SR STOPTSO  - Prevents TSO=YES execs from running and 
eliminates the AXRxx address spaces
STOP AXR -  Stops all System REXX activity i.e. the AXR address space + 
AXRxx address spaces all terminate

Both of these commands wait for in-progress work to complete.   FORCE 
AXR,ARM can be used to 
terminate System REXX, but it's not recommended since asynchronously 
abending tasks in 
the AXR or AXRxx address spaces may produce unexpected results. 


Harris Morgenstern
z/OS Storage Management and System REXX
Dept. OBPA
IBM Poughkeepsie
8-295-4221 
hmor...@us.ibm.com


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-25 Thread R.S.

Amen to that.
However I understood Steve's word as a sarcasm. Maybe I was wrong.
Obviously I don't like CANCEL, FORCE ARM and FORCE in normal procedures.

--
Radoslaw Skorupka
Lodz, Poland





W dniu 25.08.2020 o 04:10, Joel C. Ewing pisze:

It's part of that generic MVS principle from at least the 1970's, if not
earlier, that things that can be shut down cleanly before an IPL should
be, to minimize partially completed transactions, partial updates to a
collection of related data sets, database updates that haven't yet
reached a commit point, records written to output data sets but not yet
flushed from buffers to DASD, subsystems left in a state which makes
restart more difficult, etc, etc.

When you have no idea what some system address space is doing under the
covers, you have no way to know whether it has potential to be a problem
or not, unless lack of exposure is explicitly stated somewhere, or it is
just impossible to terminate.   And obviously you don't want system
address spaces that you can't easily terminate if they could in turn
prevent the normal shutdown of JES or some other system address space
that benefits from a controlled shutdown.

Yes, a forced IPL or "pulling the plug" with things still running
certainly resets all running address spaces,  but the potential for
increased DB2 recovery time and potential need to recover damaged or
inconsistent tables and data sets, and the possibility of JES job output
on DASD not even accurately reflecting what batch job step was running
at the point of interruption when restarting rudely interrupted jobs
makes that a less-than-optimum approach that can potentially delay by
many minutes the availability of a system for production usage after an
IPL.   At a minimum you want to be able to quiesce any address spaces
that are processing end-user transactions or jobs, or processing service
requests in support of that workload (and the number of z/OS address
spaces in that latter category seems to be continually growing).

Every SysProg I've known always believed you minimized your pain by
always doing a controlled shutdown of as much as possible before
"pulling the plug", but I suspect most have also encountered occasional
cases where some software, hardware, or environmental issue didn't offer
much of a choice.
     Joel C Ewing

On 8/24/20 11:05 AM, Steve Smith wrote:

I'm not clear on why you all would care about shutting them down for an
IPL.  IPL is 100% effective in removing unwanted processes.

sas





==

Jeśli nie jesteś adresatem tej wiadomości:

- powiadom nas o tym w mailu zwrotnym (dziękujemy!),
- usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś 
na dysku).
Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać 
tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) 
tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać 
karze.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. 
Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 025237, 
NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 
01.01.2020 r. wynosi 169.401.468 złotych.

If you are not the addressee of this message:

- let us know by replying to this e-mail (thank you!),
- delete this message permanently (including all the copies which you have 
printed out or saved).
This message may contain legally protected information, which may be used 
exclusively by the addressee.Please be reminded that anyone who disseminates 
(copies, distributes) this message or takes any similar action, violates the 
law and may be penalised.

mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital 
City of Warsaw, 12th Commercial Division of the National Court Register, KRS 
025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 
169.401.468 as at 1 January 2020.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Barbara Nitz
>https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.ieag100/paxr.htm
>
>FORCE AXR,ARM does the same things, but in a slightly less graceful way...

Must have come in via ptf after I downloaded the manuals when z/OS 2.4 came 
out. My versions don't show it.

Just tried 
F AXR,SR STOPTSO 
AXR0214I SYSREXX STOPTSO IS ACCEPTED.  ALL SUBSEQUENT TSO=YES
REQUESTS WILL BE REJECTED

That's all I need. Will tell my automation guy to put it into the shutdown 
sequence right after health checker is taken down.
That is z/OS 2.3 at ptf level 2006. I wonder if it already worked at 1912 - 
production is still at 1912 and will get refreshed this Saturday.

Sorry to the OP for hijacking this thread, I learned something new!

Barbara

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Joel C. Ewing
It's part of that generic MVS principle from at least the 1970's, if not
earlier, that things that can be shut down cleanly before an IPL should
be, to minimize partially completed transactions, partial updates to a
collection of related data sets, database updates that haven't yet
reached a commit point, records written to output data sets but not yet
flushed from buffers to DASD, subsystems left in a state which makes
restart more difficult, etc, etc. 

When you have no idea what some system address space is doing under the
covers, you have no way to know whether it has potential to be a problem
or not, unless lack of exposure is explicitly stated somewhere, or it is
just impossible to terminate.   And obviously you don't want system
address spaces that you can't easily terminate if they could in turn
prevent the normal shutdown of JES or some other system address space
that benefits from a controlled shutdown.

Yes, a forced IPL or "pulling the plug" with things still running
certainly resets all running address spaces,  but the potential for
increased DB2 recovery time and potential need to recover damaged or
inconsistent tables and data sets, and the possibility of JES job output
on DASD not even accurately reflecting what batch job step was running
at the point of interruption when restarting rudely interrupted jobs
makes that a less-than-optimum approach that can potentially delay by
many minutes the availability of a system for production usage after an
IPL.   At a minimum you want to be able to quiesce any address spaces
that are processing end-user transactions or jobs, or processing service
requests in support of that workload (and the number of z/OS address
spaces in that latter category seems to be continually growing).

Every SysProg I've known always believed you minimized your pain by
always doing a controlled shutdown of as much as possible before
"pulling the plug", but I suspect most have also encountered occasional
cases where some software, hardware, or environmental issue didn't offer
much of a choice. 
    Joel C Ewing

On 8/24/20 11:05 AM, Steve Smith wrote:
> I'm not clear on why you all would care about shutting them down for an
> IPL.  IPL is 100% effective in removing unwanted processes.
>
> sas
>

-- 
Joel C. Ewing

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Paul Gilmartin
On Mon, 24 Aug 2020 12:05:31 -0400, Steve Smith wrote:

>I'm not clear on why you all would care about shutting them down for an
>IPL.  IPL is 100% effective in removing unwanted processes.
> 
But could they shut down in an orderly fashion?

I have long wondered that the OS doesn't throw SIGTERM to all dubbed
processes for compatibility with long-running processes (perhaps daemons)
coded to UNIX conventions.

Experts tell me, however, this would cause chaos for blind-dubbed processes.

But perhaps processes started with the POSIX attribute?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Steve Smith
I'm not clear on why you all would care about shutting them down for an
IPL.  IPL is 100% effective in removing unwanted processes.

sas

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Pew, Curtis G
On Aug 24, 2020, at 10:27 AM, Tom Conley  wrote:
> 
> Does it only work in V2R4?  I know in V2R3, I still have to issue C AXRxx 
> from time to time to make sure all the little buggers are gone.

We’re still at 2.3, and I tried it and it worked. I don’t apply PTFs for z/OS 
and can’t say for sure, but this may have been added with some maintenance.


-- 
Pew, Curtis G
curtis@austin.utexas.edu






--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Ed Jaffe

On 8/24/2020 8:27 AM, Tom Conley wrote:


Ed,

Does it only work in V2R4?  I know in V2R3, I still have to issue C 
AXRxx from time to time to make sure all the little buggers are gone.



I have been using FORCE AXR,ARM since SystemRexx first came out in z/OS 
1.9 and it has always shut down the AXRnn address spaces as expected.


I learned about P AXR from Itschak Mugzach during this discussion. He 
says it is z/OS 2.2 and higher. It's nice that it shuts things down 
cleanly and I will definitely use that if I need to take down AXR 
between IPLs.


However, after reflecting on this over the weekend, I think I will keep 
using FORCE,ARM during re-IPL shutdown because I really don't want 
someone's REXX holding up that process...



--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/



This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Harris Morgenstern
As of  V2R2,  you can issue  F AXR,SR STOPTSO  to terminate all AXRxx 
address spaces;  this cmd is  useful if you're using System REXX to 
terminate 
the primary subsystem.  Any future AXREXX requests issued with TSO=YES
will be rejected. 


Harris Morgenstern
z/OS Storage Management and System REXX
Dept. OBPA
IBM Poughkeepsie
8-295-4221 
hmor...@us.ibm.com


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Tom Conley

On 8/24/2020 11:11 AM, Ed Jaffe wrote:

On 8/23/2020 9:25 PM, Barbara Nitz wrote:
As for P AXR - will that take down the AXRxx's, too? This command does 
NOT show up in the 2.4 System Commands manual, much less 2.3.


P AXR shuts down all AXRnn address spaces gracefully and is fully 
documented here:


https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.ieag100/paxr.htm 



FORCE AXR,ARM does the same things, but in a slightly less graceful way...




Ed,

Does it only work in V2R4?  I know in V2R3, I still have to issue C 
AXRxx from time to time to make sure all the little buggers are gone.


Regards,
Tom Conley

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Ed Jaffe

On 8/23/2020 9:25 PM, Barbara Nitz wrote:
As for P AXR - will that take down the AXRxx's, too? This command does 
NOT show up in the 2.4 System Commands manual, much less 2.3.


P AXR shuts down all AXRnn address spaces gracefully and is fully 
documented here:


https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.ieag100/paxr.htm

FORCE AXR,ARM does the same things, but in a slightly less graceful way...


--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/



This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Dana Mitchell
Barbara, 
P AXR does appear in z/OS System Commands SA38-0666-40   and does show up in my 
recently downloaded kc4z  V2.4.  

As far as the command taking down AXRxx's,  it sounds like it will:

The STOP AXR command terminates System REXX in a graceful manner, waiting for 
active requests to
complete before terminating the address space. If active requests do not 
complete within a period of
approximately 1 minute after the command is issued, the command fails.

Dana  

On Sun, 23 Aug 2020 23:25:20 -0500, Barbara Nitz  wrote:

>
>As for P AXR - will that take down the AXRxx's, too? This command does NOT 
>show up in the 2.4 System Commands manual, much less 2.3. Since we live 
>happily *without* taking down AXR, will F AXR,STOPTSO do the trick of getting 
>rid of AXRxx's? *That* is documented!
>
>Regards, Barbara
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-24 Thread Tom Conley

Harris,

that's fine if it were *my* REXX that is causing the AXRxx to get started. 
Nobody except the *IBM* Health checker is currently using System REXX in my 
installation. I have no control whatsoever over TSO=YES/NO, as I am guessing 
the TSO=YES is needed for whatever health checker wants to do. So I still 
object to AXRxx address spaces NOT showing up on a D A,L. That is making system 
shutdown unnecessarily complex and hangs up JES2 shutdown every time one of 
these things is kept around.

As for P AXR - will that take down the AXRxx's, too? This command does NOT show 
up in the 2.4 System Commands manual, much less 2.3. Since we live happily 
*without* taking down AXR, will F AXR,STOPTSO do the trick of getting rid of 
AXRxx's? *That* is documented!

Regards, Barbara



Barbara,

You go girl, my sentiments exactly.  I added this to my shutdown:

C AXR01
C AXR02
C AXR03
C AXR04
C AXR05
C AXR06
C AXR07
C AXR08
C AXR09
C AXR10

Regards,
Tom Conley

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-23 Thread Barbara Nitz
>The AXR address space (System REXX) is started with SUB=MSTR.   REXX execs 
>that 
>that are started via AXREXX TSO=NO, run in the AXR address space.   On the 
>other hand,
>REXX execs that are started via AXREXX TSO=YES run in a AXRnn address 
>space 
>which is started under the primary subsystem. 

Harris,

that's fine if it were *my* REXX that is causing the AXRxx to get started. 
Nobody except the *IBM* Health checker is currently using System REXX in my 
installation. I have no control whatsoever over TSO=YES/NO, as I am guessing 
the TSO=YES is needed for whatever health checker wants to do. So I still 
object to AXRxx address spaces NOT showing up on a D A,L. That is making system 
shutdown unnecessarily complex and hangs up JES2 shutdown every time one of 
these things is kept around.

As for P AXR - will that take down the AXRxx's, too? This command does NOT show 
up in the 2.4 System Commands manual, much less 2.3. Since we live happily 
*without* taking down AXR, will F AXR,STOPTSO do the trick of getting rid of 
AXRxx's? *That* is documented!

Regards, Barbara

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Gord Tomlin

On 2020-08-20 15:33, Lionel B Dyck wrote:

And if so where would that be changed as I can't find where it is started
now?


What's the problem you're trying to solve?

--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Ed Jaffe

On 8/21/2020 1:02 AM, Itschak Mugzach wrote:

Axr will shut down by a stop command. No violence needed -)



Thanks for that. I see that functionality was added fairly recently.

Our automation for this was established a long, long time ago.


--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/



This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Harris Morgenstern
The AXR address space (System REXX) is started with SUB=MSTR.   REXX execs 
that 
that are started via AXREXX TSO=NO, run in the AXR address space.   On the 
other hand,
REXX execs that are started via AXREXX TSO=YES run in a AXRnn address 
space 
which is started under the primary subsystem. 

If you're starting a REXX exec from an MVS Console and want to ensure that 
the exec
runs in the AXR address space (SUB=MSTR), issue the exec using the TSO=NO 
option 
i.e. MODIFY AXR,,TSO=NO


Harris Morgenstern
z/OS Storage Management and System REXX
Dept. OBPA
IBM Poughkeepsie
8-295-4221 
hmor...@us.ibm.com


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Lionel Dyck
You are correct - AXR itself runs under MSTR but the spawned AXR## are running 
under JES.

That is what I meant to ask but my thinking at the time was it all ran under 
JES until you asked your question.


Lionel B. Dyck 
Senior Software Engineer 
21st Century Software
940 West Valley Road
Suite 1604
Wayne, PA 19087
www.21stcenturysoftware.com


lion...@21csw.com
(800) 555-6845  x610
(610) 710-4832 – Office

From the Leaders in Data Stewardship™

THIS E-MAIL MAY CONTAIN PRIVILEGED, CONFIDENTIAL, COPYRIGHTED, OR OTHER LEGALLY 
PROTECTED INFORMATION. IF YOU ARE NOT THE INTENDED RECIPIENT (EVEN IF THE 
E-MAIL ADDRESS ABOVE IS YOURS), YOU MAY NOT USE, COPY, OR RE-TRANSMIT IT. IF 
YOU HAVE RECEIVED THIS BY MISTAKE PLEASE NOTIFY US BY RETURN E-MAIL, THEN 
DELETE. THANK YOU

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Jackson, Rob
Sent: Friday, August 21, 2020 7:12 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Can System REXX run Sub=MSTR ??

At our house, System REXX already runs under MSTR (under 2.2 and 2.4); we never 
did anything to make it that way that I remember.  I'm more curious what you 
all did to make it _not_ run under MSTR.  Do you have an AXR proc?  If so, does 
it have SYSOUT in it?

First Horizon Bank
Mainframe Technical Support


-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Barbara Nitz
Sent: Friday, August 21, 2020 3:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Can System REXX run Sub=MSTR ??

[External Email. Exercise caution when clicking links or opening attachments.]

>Just add a "FORCE AXR,ARM" command to your shutdown automation.

That would require RACF to allow automation to issue a force command (yes, I 
know I can set it MVS.FORCEARM.STC.AXR*.* specifically). I have been at great 
pains to install a policy where Automation is not even allowed to cancel, much 
less force anything. Not that I am very successful now that I'm not responsible 
for RACF anymore.

I still think that AXR and its AXRnn should show up on a D A,L. As long as they 
run under the JES subsystem.

Regards, Barbara

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN Confidentiality 
notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.


--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Jackson, Rob
At our house, System REXX already runs under MSTR (under 2.2 and 2.4); we never 
did anything to make it that way that I remember.  I'm more curious what you 
all did to make it _not_ run under MSTR.  Do you have an AXR proc?  If so, does 
it have SYSOUT in it?

First Horizon Bank
Mainframe Technical Support


-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Barbara Nitz
Sent: Friday, August 21, 2020 3:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Can System REXX run Sub=MSTR ??

[External Email. Exercise caution when clicking links or opening attachments.]

>Just add a "FORCE AXR,ARM" command to your shutdown automation.

That would require RACF to allow automation to issue a force command (yes, I 
know I can set it MVS.FORCEARM.STC.AXR*.* specifically). I have been at great 
pains to install a policy where Automation is not even allowed to cancel, much 
less force anything. Not that I am very successful now that I'm not responsible 
for RACF anymore.

I still think that AXR and its AXRnn should show up on a D A,L. As long as they 
run under the JES subsystem.

Regards, Barbara

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Confidentiality notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Itschak Mugzach
AXR Stop command introduced in z/os 2.2.
בתאריך יום ו׳, 21 באוג׳ 2020, 11:13, מאת Mike Shorkend ‏<
mike.shork...@gmail.com>:

> STOP AXR or P AXR to stop system rexx, only came around in z/OS 2.4. Anyone
> not yet there will have to use the force command.
>
> On Fri, 21 Aug 2020 at 11:02, Itschak Mugzach <
> 0305158ad67d-dmarc-requ...@listserv.ua.edu> wrote:
>
> > Axr will shut down by a stop command. No violence needed -)
> >
> > בתאריך יום ו׳, 21 באוג׳ 2020, 6:48, מאת Barbara Nitz ‏ >:
> >
> > > >Systemrexx is started automatically during IPL. What are you trying to
> > > get?
> > >
> > > Not sure about the OP, but I would like to start it sub=mstr, too, just
> > so
> > > it doesn't screw up JES2 shutdown every time. The dumb things (AXRxx)
> do
> > > NOT show up on a D A,L command (neither does AXR itself), so
> > alternatively
> > > they SHOULD show up just to make it easier. Right now the first
> > indication
> > > I get is when JES2 refuses to terminate. As far as I know, the xx can
> be
> > > just about any number, and short of having automation do contortions to
> > > find the correct number and then terminate the thing, I'm stuck.
> Besides,
> > > the AXRxx aren't always there. Seems to have something to do with
> health
> > > checker using system REXX.
> > >
> > > Regards, Barbara
> > >
> > > --
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
>
> --
> Mike Shorkend
> m...@shorkend.com
> Tel: +972524208743
>
> <https://www.linkedin.com/in/MikeShorkend/>
>
> <https://twitter.com/mikeShorkend>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Mike Shorkend
STOP AXR or P AXR to stop system rexx, only came around in z/OS 2.4. Anyone
not yet there will have to use the force command.

On Fri, 21 Aug 2020 at 11:02, Itschak Mugzach <
0305158ad67d-dmarc-requ...@listserv.ua.edu> wrote:

> Axr will shut down by a stop command. No violence needed -)
>
> בתאריך יום ו׳, 21 באוג׳ 2020, 6:48, מאת Barbara Nitz ‏:
>
> > >Systemrexx is started automatically during IPL. What are you trying to
> > get?
> >
> > Not sure about the OP, but I would like to start it sub=mstr, too, just
> so
> > it doesn't screw up JES2 shutdown every time. The dumb things (AXRxx) do
> > NOT show up on a D A,L command (neither does AXR itself), so
> alternatively
> > they SHOULD show up just to make it easier. Right now the first
> indication
> > I get is when JES2 refuses to terminate. As far as I know, the xx can be
> > just about any number, and short of having automation do contortions to
> > find the correct number and then terminate the thing, I'm stuck. Besides,
> > the AXRxx aren't always there. Seems to have something to do with health
> > checker using system REXX.
> >
> > Regards, Barbara
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
Mike Shorkend
m...@shorkend.com
Tel: +972524208743

<https://www.linkedin.com/in/MikeShorkend/>

<https://twitter.com/mikeShorkend>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Itschak Mugzach
Axr will shut down by a stop command. No violence needed -)

בתאריך יום ו׳, 21 באוג׳ 2020, 6:48, מאת Barbara Nitz ‏:

> >Systemrexx is started automatically during IPL. What are you trying to
> get?
>
> Not sure about the OP, but I would like to start it sub=mstr, too, just so
> it doesn't screw up JES2 shutdown every time. The dumb things (AXRxx) do
> NOT show up on a D A,L command (neither does AXR itself), so alternatively
> they SHOULD show up just to make it easier. Right now the first indication
> I get is when JES2 refuses to terminate. As far as I know, the xx can be
> just about any number, and short of having automation do contortions to
> find the correct number and then terminate the thing, I'm stuck. Besides,
> the AXRxx aren't always there. Seems to have something to do with health
> checker using system REXX.
>
> Regards, Barbara
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-21 Thread Barbara Nitz
>Just add a "FORCE AXR,ARM" command to your shutdown automation.

That would require RACF to allow automation to issue a force command (yes, I 
know I can set it MVS.FORCEARM.STC.AXR*.* specifically). I have been at great 
pains to install a policy where Automation is not even allowed to cancel, much 
less force anything. Not that I am very successful now that I'm not responsible 
for RACF anymore.

I still think that AXR and its AXRnn should show up on a D A,L. As long as they 
run under the JES subsystem.

Regards, Barbara

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-20 Thread Gibney, Dave
My new shutdown automation, IS AXR. I did a loop to C AXR10 to 01, but I have 
to identify and skip the one I'm running in. 

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Ed Jaffe
> Sent: Thursday, August 20, 2020 9:17 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Can System REXX run Sub=MSTR ??
> 
> On 8/20/2020 8:47 PM, Barbara Nitz wrote:
> >> Systemrexx is started automatically during IPL. What are you trying to get?
> > Not sure about the OP, but I would like to start it sub=mstr, too, just so 
> > it
> doesn't screw up JES2 shutdown every time. The dumb things (AXRxx) do
> NOT show up on a D A,L command (neither does AXR itself), so alternatively
> they SHOULD show up just to make it easier. Right now the first indication I
> get is when JES2 refuses to terminate. As far as I know, the xx can be just
> about any number, and short of having automation do contortions to find the
> correct number and then terminate the thing, I'm stuck. Besides, the AXRxx
> aren't always there. Seems to have something to do with health checker
> using system REXX.
> 
> 
> Just add a "FORCE AXR,ARM" command to your shutdown automation.
> 
> 
> --
> Phoenix Software International
> Edward E. Jaffe
> 831 Parkview Drive North
> El Segundo, CA 90245
> https://urldefense.com/v3/__https://www.phoenixsoftware.com/__;!!JmP
> EgBY0HMszNaDT!5bqs_jU2w1XPWsedVkTD2EoJPQbYh_XJNmHwSPZC-
> QkANqmLxtQKXnvNedVV0g$
> 
> 
> 
> This e-mail message, including any attachments, appended messages and
> the
> information contained therein, is for the sole use of the intended
> recipient(s). If you are not an intended recipient or have otherwise
> received this email message in error, any use, dissemination, distribution,
> review, storage or copying of this e-mail message and the information
> contained therein is strictly prohibited. If you are not an intended
> recipient, please contact the sender by reply e-mail and destroy all copies
> of this email message and do not otherwise utilize or retain this email
> message or any or all of the information contained therein. Although this
> email message and any attachments or appended messages are believed to
> be
> free of any virus or other defect that might affect any computer system into
> which it is received and opened, it is the responsibility of the recipient
> to ensure that it is virus free and no responsibility is accepted by the
> sender for any loss or damage arising in any way from its opening or use.
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-20 Thread Ed Jaffe

On 8/20/2020 8:47 PM, Barbara Nitz wrote:

Systemrexx is started automatically during IPL. What are you trying to get?

Not sure about the OP, but I would like to start it sub=mstr, too, just so it 
doesn't screw up JES2 shutdown every time. The dumb things (AXRxx) do NOT show 
up on a D A,L command (neither does AXR itself), so alternatively they SHOULD 
show up just to make it easier. Right now the first indication I get is when 
JES2 refuses to terminate. As far as I know, the xx can be just about any 
number, and short of having automation do contortions to find the correct 
number and then terminate the thing, I'm stuck. Besides, the AXRxx aren't 
always there. Seems to have something to do with health checker using system 
REXX.



Just add a "FORCE AXR,ARM" command to your shutdown automation.


--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/



This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-20 Thread Barbara Nitz
>Systemrexx is started automatically during IPL. What are you trying to get?

Not sure about the OP, but I would like to start it sub=mstr, too, just so it 
doesn't screw up JES2 shutdown every time. The dumb things (AXRxx) do NOT show 
up on a D A,L command (neither does AXR itself), so alternatively they SHOULD 
show up just to make it easier. Right now the first indication I get is when 
JES2 refuses to terminate. As far as I know, the xx can be just about any 
number, and short of having automation do contortions to find the correct 
number and then terminate the thing, I'm stuck. Besides, the AXRxx aren't 
always there. Seems to have something to do with health checker using system 
REXX.

Regards, Barbara

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-20 Thread ITschak Mugzach
Systemrexx is started automatically during IPL. What are you trying to get?

ITschak
בתאריך יום ה׳, 20 באוג׳ 2020, 22:33, מאת Lionel B Dyck ‏:

> And if so where would that be changed as I can't find where it is started
> now?
>
>
>
> Thanks in advance.
>
>
>
>
>
> Lionel B. Dyck <
> Website:   https://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Can System REXX run Sub=MSTR ??

2020-08-20 Thread Itschak Mugzach
Systemrexx is started automatically during IPL. What are the advantage of
running systemrexx under the mstr subsys?

ITs hak
בתאריך יום ה׳, 20 באוג׳ 2020, 22:33, מאת Lionel B Dyck ‏:

> And if so where would that be changed as I can't find where it is started
> now?
>
>
>
> Thanks in advance.
>
>
>
>
>
> Lionel B. Dyck <
> Website:   https://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Can System REXX run Sub=MSTR ??

2020-08-20 Thread Lionel B Dyck
And if so where would that be changed as I can't find where it is started
now?

 

Thanks in advance.

 

 

Lionel B. Dyck <
Website:   https://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what
you are, reputation merely what others think you are." - John Wooden

 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: z/OS System REXX record length?

2020-08-11 Thread Wayne Bickerdike
Does ISFSLASH have the same behaviour? Can't check right now, however,
that's how I issue commands.

On Wed, Aug 12, 2020, 02:28 Itschak Mugzach <
0305158ad67d-dmarc-requ...@listserv.ua.edu> wrote:

> No, if the output goes to syslog.
>
> בתאריך יום ג׳, 11 באוג׳ 2020, 19:19, מאת Lionel B Dyck ‏ >:
>
> > That does appear to be the case - is there a way around that?
> >
> >
> > Lionel B. Dyck <
> > Website: https://www.lbdsoftware.com
> >
> > "Worry more about your character than your reputation.  Character is what
> > you are, reputation merely what others think you are." - John Wooden
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List  On Behalf
> > Of ITschak Mugzach
> > Sent: Tuesday, August 11, 2020 10:21 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: z/OS System REXX record length?
> >
> > This is simply because the record is written to syslog starting at column
> > 58 and the syslog record length is 131.
> >
> > ITschak
> >
> > ITschak Mugzach
> > *|** IronSphere Platform* *|* *Information Security Continuous Monitoring
> > for z/OS, x/Linux & IBM I **| z/VM comming son  *
> >
> >
> >
> >
> > On Tue, Aug 11, 2020 at 5:49 PM Lionel B Dyck  wrote:
> >
> > > I have started to play with System REXX and one of the 1st things I
> > > tried was writing a command I called TSO that will issue any TSO
> > > command that is passed to it. What I'm finding is that the messages
> > > displayed in SYSLOG/OPERLOG appear to be wrapping at byte 70 or 71.
> > > Is there a way to adjust that?
> > >
> > >
> > >
> > > The system rexx exec that I'm using is:
> > >
> > >
> > >
> > >
> > >
> > > /* rexx  */
> > >
> > > parse arg command
> > >
> > > command
> > >
> > >
> > >
> > >
> > >
> > > Thanks
> > >
> > >
> > >
> > >
> > >
> > > Lionel B. Dyck <
> > > Website:  <https://www.lbdsoftware.com> https://www.lbdsoftware.com
> > >
> > > "Worry more about your character than your reputation.  Character is
> > > what you are, reputation merely what others think you are." - John
> > > Wooden
> > >
> > >
> > >
> > >
> > > --
> > > For IBM-MAIN subscribe / signoff / archive access instructions, send
> > > email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions, send
> email
> > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: z/OS System REXX record length?

2020-08-11 Thread Itschak Mugzach
No, if the output goes to syslog.

בתאריך יום ג׳, 11 באוג׳ 2020, 19:19, מאת Lionel B Dyck ‏:

> That does appear to be the case - is there a way around that?
>
>
> Lionel B. Dyck <
> Website: https://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of ITschak Mugzach
> Sent: Tuesday, August 11, 2020 10:21 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: z/OS System REXX record length?
>
> This is simply because the record is written to syslog starting at column
> 58 and the syslog record length is 131.
>
> ITschak
>
> ITschak Mugzach
> *|** IronSphere Platform* *|* *Information Security Continuous Monitoring
> for z/OS, x/Linux & IBM I **| z/VM comming son  *
>
>
>
>
> On Tue, Aug 11, 2020 at 5:49 PM Lionel B Dyck  wrote:
>
> > I have started to play with System REXX and one of the 1st things I
> > tried was writing a command I called TSO that will issue any TSO
> > command that is passed to it. What I'm finding is that the messages
> > displayed in SYSLOG/OPERLOG appear to be wrapping at byte 70 or 71.
> > Is there a way to adjust that?
> >
> >
> >
> > The system rexx exec that I'm using is:
> >
> >
> >
> >
> >
> > /* rexx  */
> >
> > parse arg command
> >
> > command
> >
> >
> >
> >
> >
> > Thanks
> >
> >
> >
> >
> >
> > Lionel B. Dyck <
> > Website:  <https://www.lbdsoftware.com> https://www.lbdsoftware.com
> >
> > "Worry more about your character than your reputation.  Character is
> > what you are, reputation merely what others think you are." - John
> > Wooden
> >
> >
> >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions, send
> > email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: z/OS System REXX record length?

2020-08-11 Thread Lionel B Dyck
That does appear to be the case - is there a way around that?


Lionel B. Dyck <
Website: https://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
ITschak Mugzach
Sent: Tuesday, August 11, 2020 10:21 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: z/OS System REXX record length?

This is simply because the record is written to syslog starting at column
58 and the syslog record length is 131.

ITschak

ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring for 
z/OS, x/Linux & IBM I **| z/VM comming son  *




On Tue, Aug 11, 2020 at 5:49 PM Lionel B Dyck  wrote:

> I have started to play with System REXX and one of the 1st things I 
> tried was writing a command I called TSO that will issue any TSO 
> command that is passed to it. What I'm finding is that the messages 
> displayed in SYSLOG/OPERLOG appear to be wrapping at byte 70 or 71.  
> Is there a way to adjust that?
>
>
>
> The system rexx exec that I'm using is:
>
>
>
>
>
> /* rexx  */
>
> parse arg command
>
> command
>
>
>
>
>
> Thanks
>
>
>
>
>
> Lionel B. Dyck <
> Website:  <https://www.lbdsoftware.com> https://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is 
> what you are, reputation merely what others think you are." - John 
> Wooden
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: z/OS System REXX record length?

2020-08-11 Thread ITschak Mugzach
This is simply because the record is written to syslog starting at column
58 and the syslog record length is 131.

ITschak

ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM comming son  *




On Tue, Aug 11, 2020 at 5:49 PM Lionel B Dyck  wrote:

> I have started to play with System REXX and one of the 1st things I tried
> was writing a command I called TSO that will issue any TSO command that is
> passed to it. What I'm finding is that the messages displayed in
> SYSLOG/OPERLOG appear to be wrapping at byte 70 or 71.  Is there a way to
> adjust that?
>
>
>
> The system rexx exec that I'm using is:
>
>
>
>
>
> /* rexx  */
>
> parse arg command
>
> command
>
>
>
>
>
> Thanks
>
>
>
>
>
> Lionel B. Dyck <
> Website:  <https://www.lbdsoftware.com> https://www.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: z/OS System REXX record length?

2020-08-11 Thread Bob Bridges
Hi, Lionel.  I may be missing something important:  Is "system REXX" just
the same as REXX, or is there some special meaning there I'm unaware of?

If it's just regular REXX, then I should think the wrapping is a function of
the log, not of REXX itself.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* re-cur-sive (ri: 'kr sIv), from "re-" + Lat. "cursire" (to say "Oh, hell,
not AGAIN!"):  See "recursive". */

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Lionel B Dyck
Sent: Tuesday, August 11, 2020 10:49

I have started to play with System REXX and one of the 1st things I tried
was writing a command I called TSO that will issue any TSO command that is
passed to it. What I'm finding is that the messages displayed in
SYSLOG/OPERLOG appear to be wrapping at byte 70 or 71.  Is there a way to
adjust that?

The system rexx exec that I'm using is:

  /* rexx  */
  parse arg command
  command

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


z/OS System REXX record length?

2020-08-11 Thread Lionel B Dyck
I have started to play with System REXX and one of the 1st things I tried
was writing a command I called TSO that will issue any TSO command that is
passed to it. What I'm finding is that the messages displayed in
SYSLOG/OPERLOG appear to be wrapping at byte 70 or 71.  Is there a way to
adjust that?

 

The system rexx exec that I'm using is:

 

 

/* rexx  */

parse arg command

command

 

 

Thanks

 

 

Lionel B. Dyck <
Website:  <https://www.lbdsoftware.com> https://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what
you are, reputation merely what others think you are." - John Wooden

 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: MPF Exit calling System REXX - S0C4 abend

2019-09-16 Thread Jon Perryman
 >  On Friday, September 6, 2019, 11:43:00 AM PDT, Peter Relson 
 > wrote:
 
 > Does it need saying that you ought to have your own recovery and take your 

> own SVC Dump to meet your own diagnostic needs?


MPF processing is also used for Netview message processing and has some basic 
abend recovery. That recovery will only allow a certain number of that specific 
abend before disabling your exit for that message.

As for using system REXX in MPF, remember that REXX might not be compatible 
with all messages. For instance, messages produced by device recovery. I'm not 
familiar with system REXX internals so I can't say where the problems may occur.

Also be aware that this is running on the SSI with inconsistent environment. 
Messages produced in a standard environment will probably work fine while the 
more obscure environments could fail for various reasons. In other words, you 
should test for all possible messages otherwise you run the risk of abends.

Jon.  

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: MPF Exit calling System REXX - S0C4 abend

2019-09-06 Thread Peter Relson
Does it need saying that you ought to have your own recovery and take your 
own SVC Dump to meet your own diagnostic needs?

>From what was presented, we know the following:
Page fault occurred (Program check 11, resulting in 0C4-11) at 1ECDE102 
At a time when the difference between register C and the error PSW was 
x'DA'.
On a D7D710001000 instruction. While that is not in the "source", there is 
one in the expansion of AXREXX.
Where the most recent branch before that was at 1ECDE05E 

The error is here
LR1,=A(@DSECTE-@DSECT)  CALCULATE STORAGE LENGTH 
...
@DSECTE  EQU  * 
* 
AXREXX  MF=(L,AXREXXL) 

The STORAGE OBTAIN for dynamic storage does not cover the storage needed 
for the AXREXX list form.
@DSECTE's equate needs to be after the AXREXX list form.

Sometimes you're lucky and it doesn't blow up because you might be 
overwriting beyond what you obtained but staying in the same page.
Actually, I consider that unlucky. Sometimes you go beyond the bounds of 
the page into a non-getmained page and it blows up.

Peter Relson
z/OS Core Technology Design


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: MPF Exit calling System REXX - S0C4 abend

2019-09-06 Thread Seymour J Metz
RENT will (sometimes) catch violations of refreshability; it does not catch 
violation of reentrancy other than (some) self modifying code. The OP's problem 
is a reentrancy violation[1] that the assembler does not and cannot catch.

[1] Well, technically the two exits are different routines, but it's still a 
failure
to serialize.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of 
Jesse 1 Robinson 
Sent: Thursday, September 5, 2019 5:05 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: MPF Exit calling System REXX - S0C4 abend

System exits in general need to be reentrant. You should add the RENT option on 
the ASM step as well to make sure you don't have any violations, which will 
likely lead to S0C4 in otherwise sound code.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Sebastian Welton
Sent: Thursday, September 5, 2019 6:21 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: MPF Exit calling System REXX - S0C4 abend

Definitely, see below (formatting is probably stuffed I'm afraid), compiled 
using the standard ASMAC found in PROCLIB (no overriding ASMAOPT or other 
parameters) and link with RENT, INCLUDE(ASMAOBJ) and SETCODE AC(0). I have now 
found out where the original came from and am doing further research on it as 
well, thanks.

Sebastian.

GENMSGTR TITLE 'GENMSGTR'
GENMSGTR CSECT
GENMSGTR RMODE 31
GENMSGTR AMODE ANY
R0   EQU   0   REGISTER 0
R1   EQU   1   REGISTER 1
R2   EQU   2   REGISTER 2
R3   EQU   3   REGISTER 3
R4   EQU   4   REGISTER 4
R5   EQU   5   REGISTER 5
R6   EQU   6   REGISTER 6
R7   EQU   7   REGISTER 7
R8   EQU   8   REGISTER 8
R9   EQU   9   REGISTER 9
R10  EQU   10  REGISTER 10
R11  EQU   11  REGISTER 11
R12  EQU   12  REGISTER 12
R13  EQU   13  REGISTER 13
R14  EQU   14  REGISTER 14
R15  EQU   15  REGISTER 15
 STM   R14,R12,12(R13) SAVE CALLERS REGS
 USING GENMSGTR,R12ADDRESSABILITY
 LRR12,R15 SET BASE ADDRESS
 LRR2,R1   SAVE PARAMETER REGISTER
 L R1,=A(@DSECTE-@DSECT)   CALCULATE STORAGE LENGTH
 STORAGE OBTAIN,LENGTH=(R1)GET SOME VS
 STR1,8(,R13)  FORWARD POINTER
 STR13,4(,R1)  BACKWARD POINTER
 LRR13,R1  POINT TO SAVE AREA
 LRR1,R2   RESTORE PARAMETER REGISTER
 B EYEBALLESKIP CONSTANTS
EYEBALL  DS0H
 DCC'=> GENMSGTR D= T= ROB '
EYEBALLE DS0H
 USING @DSECT,R13  ADDRESSABILITY
 SRR11,R11 CLEAR RETURN CODE
*
 L R9,0(,R1)   POINT TO CTXT
 USING CTXT,R9 ADDRESSABILITY
 L R8,CTXTTXPN WAS THERE A MESSAGE?
 LTR   R8,R8   SINGLE OR FIRST LINE WTO?
 BNZ   RETURN  NO - EXIT
 L R8,CTXTTXPJ POINT TO MAJOR
 USING CTXTATTR,R8 ADDRESSABILITY
 LAR7,@ARGLST  POINT TO AXREXX ARG LIST
 USING AXRARGLST,R7ADDRESSABILITY
 MVI   @ARGLST,X'00'
 MVC   @ARGLST+1(AXRARGLST_LEN),@ARGLST
 MVC   AXRARGLSTID,=A(AXRARGLSTACRO) MOVE IN EYECATCHER
 LAR1,AXRARGLSTCURVER  VERSION 0
 STR1,AXRARGLSTVER SAVE VERSION
 LAR1,1SINGLE ARGUMENT
 STH   R1,AXRARGLSTNUMBER  SAVE NUMBER OF ARGUMENTS
 SLR   R1,R1   CLEAR ERROR FLAG
 STH   R1,AXRARGLSTENTRYINERROR SAVE ERROR FLAG
 STR1,AXRARGLSTRSV2SAVE RESERVED VALUE
 LAR6,@ARG1POINT TO ARGUMENT 1
 USING AXRARGENTRY,R6  ADDRESSABILITY
 MVI   @ARG1,X'00'
 MVC   @ARG1+1(AXRARGENTRY_LEN),@ARG1
 SLR   R1,R1   CLEAR ADDRESS HIGH
 STR1,AXRARGADDRHIGH   SAVE ADDRESS HIGH
 LAR1,CTXTTMSG POINT TO WTO
 STR1,AXRARGADDRLOWSAVE ADDRESS
 LAR1,L'CTXTTMSG   POINT TO LENGTH OF WTO
 STR1,AXRARGLENGTH SAVE LENGTH
 MVI   AXRARGTYPE,AXRARGTYPECHAR SET ARGUMENT TYPE TO CHAR
 OIAXRARGINPUTFLGS1,AXRARGINPUT FLAG INPUT ARGUMENT
 AXREXX REQUEST=EXECUTE,   X
   SECURITY=BYAXRUSER, X
   TSO=

Re: MPF Exit calling System REXX - S0C4 abend

2019-09-06 Thread Seymour J Metz
Well, to make up for that it does flag some things that are not reentrancy 
violations. Nobody's prefect.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of 
Charles Mills 
Sent: Thursday, September 5, 2019 5:48 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: MPF Exit calling System REXX - S0C4 abend

And of course, specifying RENT does not make the code reentrant. It's a help. 
It flags some violations, and that's a help, but it misses a lot, and does not 
"do" anything to your code, unlike the RENT option in higher-level languages. 
IBM macros are fond of the form

BAL 1,*+8
DC  A(0)
ST  n,0(0,1)

And while that is a violation and will lead to a S0C4 (generally) during 
execution, the assembler RENT option will not flag it. (It also drives the 
i-cache logic crazy and is a performance killer, but that is different topic.)

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jesse 1 Robinson
Sent: Thursday, September 5, 2019 2:06 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: MPF Exit calling System REXX - S0C4 abend

System exits in general need to be reentrant. You should add the RENT option on 
the ASM step as well to make sure you don't have any violations, which will 
likely lead to S0C4 in otherwise sound code.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Sebastian Welton
Sent: Thursday, September 5, 2019 6:21 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: MPF Exit calling System REXX - S0C4 abend

Definitely, see below (formatting is probably stuffed I'm afraid), compiled 
using the standard ASMAC found in PROCLIB (no overriding ASMAOPT or other 
parameters) and link with RENT, INCLUDE(ASMAOBJ) and SETCODE AC(0). I have now 
found out where the original came from and am doing further research on it as 
well, thanks.

Sebastian.

GENMSGTR TITLE 'GENMSGTR'
GENMSGTR CSECT
GENMSGTR RMODE 31
GENMSGTR AMODE ANY
R0   EQU   0   REGISTER 0
R1   EQU   1   REGISTER 1
R2   EQU   2   REGISTER 2
R3   EQU   3   REGISTER 3
R4   EQU   4   REGISTER 4
R5   EQU   5   REGISTER 5
R6   EQU   6   REGISTER 6
R7   EQU   7   REGISTER 7
R8   EQU   8   REGISTER 8
R9   EQU   9   REGISTER 9
R10  EQU   10  REGISTER 10
R11  EQU   11  REGISTER 11
R12  EQU   12  REGISTER 12
R13  EQU   13  REGISTER 13
R14  EQU   14  REGISTER 14
R15  EQU   15  REGISTER 15
 STM   R14,R12,12(R13) SAVE CALLERS REGS
 USING GENMSGTR,R12ADDRESSABILITY
 LRR12,R15 SET BASE ADDRESS
 LRR2,R1   SAVE PARAMETER REGISTER
 L R1,=A(@DSECTE-@DSECT)   CALCULATE STORAGE LENGTH
 STORAGE OBTAIN,LENGTH=(R1)GET SOME VS
 STR1,8(,R13)  FORWARD POINTER
 STR13,4(,R1)  BACKWARD POINTER
 LRR13,R1  POINT TO SAVE AREA
 LRR1,R2   RESTORE PARAMETER REGISTER
 B EYEBALLESKIP CONSTANTS
EYEBALL  DS0H
 DCC'=> GENMSGTR D= T= ROB '
EYEBALLE DS0H
 USING @DSECT,R13  ADDRESSABILITY
 SRR11,R11 CLEAR RETURN CODE
*
 L R9,0(,R1)   POINT TO CTXT
 USING CTXT,R9 ADDRESSABILITY
 L R8,CTXTTXPN WAS THERE A MESSAGE?
 LTR   R8,R8   SINGLE OR FIRST LINE WTO?
 BNZ   RETURN  NO - EXIT
 L R8,CTXTTXPJ POINT TO MAJOR
 USING CTXTATTR,R8 ADDRESSABILITY
 LAR7,@ARGLST  POINT TO AXREXX ARG LIST
 USING AXRARGLST,R7ADDRESSABILITY
 MVI   @ARGLST,X'00'
 MVC   @ARGLST+1(AXRARGLST_LEN),@ARGLST
 MVC   AXRARGLSTID,=A(AXRARGLSTACRO) MOVE IN EYECATCHER
 LAR1,AXRARGLSTCURVER  VERSION 0
 STR1,AXRARGLSTVER SAVE VERSION
 LAR1,1SINGLE ARGUMENT
 STH   R1,AXRARGLSTNUMBER  SAVE NUMBER OF ARGUMENTS
 SLR   R1,R1   CLEAR ERROR FLAG
 STH   R1,AXRARGLSTENTRYINERROR SAVE ERROR FLAG
 STR1,AXRARGLSTRSV2SAVE RESERVED VALUE
 LAR6,@ARG1POINT TO ARGUMENT 1
 USING AXRARGENTRY,R6  ADDRESSABILITY
 MVI   @ARG1,X'00'
 MVC   @ARG1+1(AXRARGENTRY_LEN),@ARG1
 SLR   R1,R1   CLEAR ADDRESS HIGH

  1   2   3   >