Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Robert Garrett
There are no native REXX functions or easily callable services you can use to 
get your hands on them.  However, if you're handy with Assembler you could 
write your own callable service to get them.  The service you need in order to 
get access to JCL symbols is invoked via the IEFSJSYM macro.  

I once wrote a CICS utility program to fetch both system symbols and JCL SET 
symbols while running as a CICS task.

Cheers,
Robert

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


Specific Question/Scenario on using Pass Tickets with RACF

2023-08-02 Thread Robert Garrett
Something that's been puzzling me:

Imagine an interactive application that requires valid user credentials (ID and 
password) to access, but does NOT require specific authorization to the 
application.
In other words, the app does a RACROUTE REQUEST=VERIFY to validate credentials 
and create the associated ACEE representing the user, but it does NOT provide 
the APPL= parameter on the request, nor does it perform a subsequent 
REQUEST=AUTH on an APPL resource.  In other words, if you've got a valid 
ID/password, you can "log on" to the app - no PERMIT to the app itself is 
required and there's also no corresponding APPL resource for it.

Now, what if I want to be able to generate pass tickets in place of passwords 
to access this app?  Doing that requires a PTKTDATA resource whose name matches 
the application to control pass ticket generation, but this application doesn't 
provide a name for itself.
Possible?
Just plain not supported?
Will RACF "assume" an application name (JOB/STC name, VTAM Applid, something 
else) and use that to locate the applicable PTKTDATA resource (and if so, what 
does it use)?

(If it matters, assume enhanced pass ticket via AES key in the ICSF CKDS).

Enquiring minds would really like an authoritative and accurate answer on this 
one...

Thanks,
Rob

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


Looking for a quick answer here

2023-02-12 Thread Robert Garrett
Is AT-TLS (or some other encryption mechanism) supported in the case of z/OS 
running as an NFS >client<, connecting to (for example) a Linux NFS server?

I've been looking through the doc and haven't yet found a definitive answer.  
Looking for a solution to enable z/OS to act as an NFS client and have that 
connection be secure.

Thanks,
Rob

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


JCL // SET SYMBOL indirection

2023-01-31 Thread Robert Garrett
I love symbols.

I've been trying to figure out if a level of indirection is possible.
Here's an example that both doesn't work and isn't' even syntactically correct, 
but hopefully will serve to illustrate what I'm trying to do:

//SYM1 SET SYM1=VALUE1
//SYM2 SET SYM2=VALUE2

//TARGET   SET TARGET=SYM1

//RESULT   SET RESULT=&   (and end up with  being set to VALUE1 
and not SYM1)

I know it'll be tempting to ask "why?" but trust me, I have a good reason.

Thanks,
Rob

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


Re: z/OSMF - again, next issue

2022-08-29 Thread Robert Garrett
zOSMF.  A reasonably good idea that has been extremely poorly and sloppily 
implemented. 

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Carmen Vitullo
Sent: Monday, August 29, 2022 1:13 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: z/OSMF - again, next issue

I'm working with a teammate that is required to use z/osmf to download an new 
zsecure release, we successfully added the portable software instance and 
provide the https server and client parms, updated the JOBCARD, the next parts 
we hunt and peck and guess what to do next, we found quite by accident we had 
to 'complete add' to get to the part to submit the job to download the product 
from IBM, selecting action/submit the job we get this error

The request could not be completed because an error occurred. Error: 

IZUD999E

Aug 29, 2022, 1:02:08 PM

An error occurred when attempting to contact the application server. The server 
returned HTTP status code: 500.

IZUG857E

the IZU messages are no help, we checked the configuration for the system(s) 
and found nothing configured wrong we saw, the PDS where the JCL was stored we 
submitted via TSO /ISPF successfully, next we went on and selected NEXT to move 
to the next job/process then we got this error An error occurred when 
attempting to contact the application server. The server returned HTTP status 
code: 500.

IZUG857E

Aug 29, 2022, 1:02:45 PM
I did not see any error in the IZUSVR1 address space or in the syslog.
my question, has anyone been successful submitting from z/osmf? is there 
somewhere I can check that needs configuring I may have missed? 
thanks

Carmen

--
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: Question about IEFSSI REQUEST=QUERY

2022-07-13 Thread Robert Garrett
Hi Paul,

I just looked back over some of my own subsystem code that also makes that 
call, and I never fee that area so therefore it will get freed at tcb or step 
termination.  I don't think one has any control over where the storage gets 
allocated from, but considering what it's used for my guess is that it will com 
out of your local subpool zero.

Robert

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
esst...@juno.com
Sent: Wednesday, July 13, 2022 4:34 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Question about IEFSSI REQUEST=QUERY

.Hello

IEFSSI macro to dynamically query a subsystem. with REQUEST=QUERY .
Regarding IEFSSI REQUEST=QUERY,WORKAREA=WAREA; it is My understanding that the 
work area will be freed automatically at either task (TCB) termination or job 
step termination.
.
Is my Assesment correct ?
.
2nd
Would IEFSSI ever allocate the WORKAREA (with REQUEST=QUERY) from CSA or ECSA ?
,
Paul  .
.

--
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: Use of zCX

2022-04-20 Thread Robert Garrett
I've dabbled with it some, enough to bring up an instance and get a couple of 
containers running under it, a REDIS database instance for example.

It likes a LOT of real memory and it appears that the running instance consumes 
the full amount of real memory allocated to it for the duration, making it 
unavailable to zOS for paging or any other use.   Don't believe the claim that 
it can run in as little as 2GB.  The experimental test instance that I built 
had 3GB allocated to it (the most I could give it on the LPAR I was using) and 
it took a full 15 minutes (yes minutes) by the clock for the address space to 
initialize and reach the point where it was functional - on every start up.   
Admittedly, this was on a zOS image that was being hosted under zVM at IBM 
Dallas, so I'm sure that had some impact.

The tooling for provisioning it leaves a lot to be desired, at least it did a 
year ago when I worked through it all.   Everything about building a zCX 
instance requires using tooling in zOSMF, and the zOSMF server itself requires 
just about every optional service available there is to be configured and 
available.I also found that using the tooling to make configuration changes 
to a previously built but running instance mostly doesn't work.  In my 
experience, I got much better results by instead wiping out the whole image and 
rebuilding it from scratch any time I needed to make a configuration change, 
even a seemingly minor one. 

I did write a fairly detailed  'experience' document about everything, but I 
was doing so as part of a project for a client at the time so I'm not free to 
publish or share it without their permission.

Cheers,

Robert Garrett
Garrett Family Enterprises 
rob...@garrettfamily.us
IBM Gold Consultant - 2022




-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Matt Hogstrom
Sent: Wednesday, April 20, 2022 2:56 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Use of zCX

As an ISV are interested in leveraging containers for delivery of services into 
zCX … I’m curious if 

1. You have zCX installed, or plan to?
2  If so, are you looking to use IBM’s recently announced OpenShift or another 
orchestrator?

It’s always nice to know if you’re delivering content that there is a healthy 
ecosystem to use it.  

If you would like to share but don’t want to on the list you can DM me.  

Appreciate your thoughts and insight.

Matt Hogstrom
m...@hogstrom.org


Frodo:  “I wish the ring had never come to me.  I wish none of this had 
happened.”  
Gandalf:  “So do all who live to see such things.  But it is not for them to 
decide.  All you have to do is decide what to do with this time that is given 
to you.”


--
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: EAGREX0500E Error 5 . Machine storage exhausted or request exceeds limit in REXX

2021-12-14 Thread Robert Garrett
REXX isn't the problem.  Your coding technique is.
There's no limit to the size of file you can read and process using REXX, 
--provided-- that you read and process only one record (or at most only a few 
records) at a time, like 'normal' program would.
For example:
EXECIO 1 DISKR MYFILE
IF RC <> 0 THEN DO
 whatever your end of input file logic needs to be
 END
PARSE PULL BUFFER
(...BUFFER now contains the record you just read from MYFILE...)
  ...etc...

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
ibmmain
Sent: Tuesday, December 14, 2021 4:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: EAGREX0500E Error 5 . Machine storage exhausted or request exceeds 
limit in REXX

Hi all


We want to handle a big file (about 5,000,000 records in it) by REXX. We 
also compile the Rexx PGM by REXXCOMP







//COMPILE EXEC PGM=REXXCOMP,PARM='ALT SL COND TRACE'
//SYSIN DD DSN=yourlib.SYSEXEC(REXXIN),DISP=SHR
//SYSCEXEC DD DSN=yourlib.SYSEXEC(REXXOUT),DISP=SHR
---
After we submitted the JCL using the REXXOUT with REGION=0M, We got the 
following message:


EAGREX0500E Error 5 . Machine storage exhausted or request exceeds the limit.


Our questions:
1 Could REXX handle more than 5,000,000 records files?
2 Is there any way to solve this issue?'


Any suggestions would be greatly appreciated!



Thanks a lot!


Best Regards,


Jason Cai




--
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: Trying to use long parm= in started task

2021-12-07 Thread Robert Garrett
I tend to agree about the tech writers "having lost their way".

I wish they'd quit messing with "the tool formerly known as Knowledge Center", 
because every time they revamp it, they make it WORSE, not better. 

It did used to be simple.  A reference manual ought to show every possible 
option/parameter/setting with a brief description of what each one does, ALL IN 
ONE PLACE!.  Please, stop trying to "guess" at what "most" users are going to 
want to use, and tell me EVERYTHING!  Let me decide which items are relevant to 
me, and stop making me have to hunt down a gazillion different disjoint 
locations in the doc and still not be certain that I've found every possible 
setting/option/parameter - thankyouverymuch.

And messages doc?  Give me a search index on the FULL FREAKING MESSAGE 
IDENTIFIER!!  I don't know whose idea it was to set up the search index so that 
you have to in advance "know" that you have to break the message identifier 
itself down into sub-strings (of varying length of course) and drill down into 
sections of the message doc in order to find anything, but that person or 
persons ought to be horse-whipped.   And the doc itself has become pretty 
horrible.  How many times have you gone through the ordeal of finding the doc 
for a message, and when you finally do find it, all it tells you are things 
that you already knew (something went wrong) and for the solution you should 
"ask your systems programmer".   Well, I AM the systems programmer, and the 
reason I'm looking up the silly message in the first place is because I don't 
know what went wrong in enough detail to know what to do about it. 

I mean come on.  Someone had to write some code to detect a condition and issue 
the message, right?  At least tell me what conditions are being checked that 
can trigger the message along with a little detail.  How difficult could that 
possibly be?

A user's guide ought to have examples of usage, picked to supplement/illuminate 
the information provided in the reference manual.

As much of pain as it was to file paper TNL's into paper manuals,  back when I 
had a whole wall's worth of them in binders in a floor to ceiling bookcase in 
my office behind my desk, I guarantee I could find anything I wanted to know in 
less than half the time it takes to use the "KC", and be at least twice as 
confident that the information I'd found was both complete and correct. 

Grrr...

Yeah, I'm that olde

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Colin Paice
Sent: Tuesday, December 7, 2021 2:54 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Trying to use long parm= in started task

>
The tech writers have lost their way.  A Reference manual should specify
syntax:
how to code a command legally; and semantics: what that command does as coded.  
A Use's Gide should be task oriented: what command described in the <

I've been on both sides of the fence writing and as an end user.

The perfect solution would be to have a link to "usage" from the command 
reference and vice versa.
This is hard in PDF.  It would tend to say "go and look in the usage book"
(See below)
With the knowledge centre conceptually there are no "books", so the cross
linking should be easy. The table of contents is book based.   I think MQ
pubs are only KC, and you cannot easily get PDF documents.

I doubt if there is the resource to put all the links in, but from the usage 
statistics per page in the KC, they should be able to find the hot pages and 
put links in there.

An example from the KC

*Note: This document provides some examples of how you can use BPXBATCH.
For more detailed information about BPXBATCH, see the description of the 
BPXBATCH utility and the detailed discussion on using BPXBATCH to run 
executable files under MVS™ environments in z/OS UNIX System Services Command 
Reference
.*

This just gets me to *Table of Contents (exploded view) *in the command 
reference  section rather than to the BPXBATCH command itself which would be 
easy to do.

Both PDF and online KC have their good and bad points.  Is there another option 
I have missed?

Colin

--
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: IBM snew DOC Web SIte

2021-04-08 Thread Robert Garrett
LOL - "Intuitive" - perhaps if you're the person who wrote this abomination.

I didn't think it was possible for there to be a doc tool that I hated more, or 
was harder to find information in, than KC.  IBM just proved me wrong about 
that.

I had just finally gotten familiar with using the scoping tool, so of course 
they had to change everything and make us all start over.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Colin Paice
Sent: Thursday, April 8, 2021 12:06 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: IBM snew DOC Web SIte

There may be no need for documentation as it was expected to be intuitive!
It would be nice if they had a permanent search box open, rather than click the 
eye glass and then enter the data.

One reason it may be slow is I've seen it do 8 TLS handshakes as part of 
getting a page.  It goes and tells sites about what it is doing - for 
"Analytics". Other sites include "cdn.walkme.com", ec.walkme.com, (*WalkMe* is 
a Digital Adoption Platform (DAP) that works by overlaying information in 
"tip-balloons" in the browser window. These balloons break down online
processes into step-by-step instructions.)   consent.trustarc.com  (consent
manager)

On Thu, 8 Apr 2021 at 17:47, Robert Garrett  wrote:

> Yes, it's HORRIBLY slow and there's no doc on how to use it that I've 
> found so far.
>
> It is possible to scope searches, but you have to first perform a 
> search and get some results to be able to set the scope because the 
> only place the scope option is available is at the top of the search 
> results page.  How stupid is that?
>
> -Original Message-
> From: IBM Mainframe Discussion List  On 
> Behalf Of kekronbekron
> Sent: Wednesday, April 7, 2021 9:53 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: IBM snew DOC Web SIte
>
> Some more feedback for the Docs team:
>
> 1. Search is extremely slow. The search scope filter is missing.
> Assuming the web site is served from some *nix server, try using 
> components from https://github.com/BurntSushi/ripgrep for fast search.
>
> 2. The index in the left takes ages to load. Try doing client-side 
> assembly via WASM.
> I'm sure there'll be loads of great articles from one of the Firefox 
> blogs on the technology and how to get started, etc.
>
> - KB
>
> ‐‐‐ Original Message ‐‐‐
> On Tuesday, April 6, 2021 7:45 AM, kekronbekron < 
> kekronbek...@protonmail.com> wrote:
>
> > What would also be useful is a next/previous button at the top right 
> > &
> bottom right of each Doc page.
> > 2 places because for pages that are long, one doesn't need to 'go to
> top'.
> >
> > -   KB
> >
> > ‐‐‐ Original Message ‐‐‐
> > On Tuesday, April 6, 2021 7:38 AM, kekronbekron
> 02dee3fcae33-dmarc-requ...@listserv.ua.edu wrote:
> >
> >
> > > Works ok for me.
> > > I should say, I do like the generous use of IBM Plex and the look 
> > > of
> the site.
> > > Hope they get rid of the feedback banner at the bottom soon.
> > > Or at least make it an easy to use set of buttons in the footer 
> > > (where
> language selection is).
> > > https://www.ibm.com/docs/en/cics-ts/5.2?topic=commands-cemt-perfor
> > > m-
> > > pipeline
> > >
> > > -   KB
> > > ‐‐‐ Original Message ‐‐‐
> > > On Tuesday, April 6, 2021 1:31 AM, esst...@juno.com
> esst...@juno.com wrote:
> > >
> > >
> > > > .HelloAnyone experiencing problems with IBMs new doc site ?.For 
> > > > Example:If I google CICS PIPELINE SCAN , I am presented with 
> > > > many references to documentation with "pipeline scan"If any of 
> > > > these references invoke the old Knowledge Center, I am 
> > > > re-directed to a new IBM doc site..However I am presented with a 
> > > > White Page, with no substance ?.Anyone else getting this.Paul 
> > > > D'Angelo 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

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


Re: IBM snew DOC Web SIte

2021-04-08 Thread Robert Garrett
Yes, it's HORRIBLY slow and there's no doc on how to use it that I've found so 
far.

It is possible to scope searches, but you have to first perform a search and 
get some results to be able to set the scope because the only place the scope 
option is available is at the top of the search results page.  How stupid is 
that?

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
kekronbekron
Sent: Wednesday, April 7, 2021 9:53 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: IBM snew DOC Web SIte

Some more feedback for the Docs team:

1. Search is extremely slow. The search scope filter is missing.
Assuming the web site is served from some *nix server, try using components 
from https://github.com/BurntSushi/ripgrep for fast search.

2. The index in the left takes ages to load. Try doing client-side assembly via 
WASM.
I'm sure there'll be loads of great articles from one of the Firefox blogs on 
the technology and how to get started, etc.

- KB

‐‐‐ Original Message ‐‐‐
On Tuesday, April 6, 2021 7:45 AM, kekronbekron  
wrote:

> What would also be useful is a next/previous button at the top right & bottom 
> right of each Doc page.
> 2 places because for pages that are long, one doesn't need to 'go to top'.
>
> -   KB
>
> ‐‐‐ Original Message ‐‐‐
> On Tuesday, April 6, 2021 7:38 AM, kekronbekron 
> 02dee3fcae33-dmarc-requ...@listserv.ua.edu wrote:
>
>
> > Works ok for me.
> > I should say, I do like the generous use of IBM Plex and the look of the 
> > site.
> > Hope they get rid of the feedback banner at the bottom soon.
> > Or at least make it an easy to use set of buttons in the footer (where 
> > language selection is).
> > https://www.ibm.com/docs/en/cics-ts/5.2?topic=commands-cemt-perform-
> > pipeline
> >
> > -   KB
> > ‐‐‐ Original Message ‐‐‐
> > On Tuesday, April 6, 2021 1:31 AM, esst...@juno.com esst...@juno.com 
> > wrote:
> >
> >
> > > .HelloAnyone experiencing problems with IBMs new doc site ?.For 
> > > Example:If I google CICS PIPELINE SCAN , I am presented with many 
> > > references to documentation with "pipeline scan"If any of these 
> > > references invoke the old Knowledge Center, I am re-directed to a 
> > > new IBM doc site..However I am presented with a White Page, with 
> > > no substance ?.Anyone else getting this.Paul D'Angelo 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: IXGLOGR - system logger

2020-12-16 Thread Robert Garrett
How is the log stream defined?  Are the offload datasets (and staging datasets, 
if specified) SMS managed?  (LS_STORCLASS() and STG_STORCLASS() specified with 
values and not with NO_LS_STORCLASS and NO_STG_STORCLASS respectively)

If so, then check the associated storage group to see if it's out of space.  If 
not, then check the volumes in esoteric unit name SYSDA that are mounted 
STORAGE.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pierre Fichaud
Sent: Monday, December 14, 2020 12:55 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: IXGLOGR - system logger

I am trying to connect the the system logger but get the following:

12.35.35 STC07110  IXG231I IXGCONN REQUEST=CONNECT TO LOG STREAM 
XX.Y.PRF1.MSGS  045   
   045 DID NOT SUCCEED FOR JOB PRF1.  RETURN CODE: 0008  REASON 
CODE:  
   045 080C  DIAG1: 0004  DIAG2: 4714041D  DIAG3: 0107001B  
DIAG4: 
   045  
   

4714 means that there is no space left on the volume.
How can I point the system logger to other VOLSERs?
The allocations always go to the same VOLSER.

And how can I tell the system that I have other VOLSERs available for TSO 
allocations ?

Thanks in advance, Pierre.

--
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: ATTCHMVS (was: REXX assistance)

2020-05-22 Thread Robert Garrett
"Was the syntax upward-compatible?"

Yes, it was - mostly.  My ATTCHJRG command processor was 100% compatible with 
how you called ATTCHMVS, except it supported one additional parameter: 
TASKDD(ddname).   If you supplied that, then it would pass whatever you had 
previously allocated to ddname as a TASKLIB on the ATTACH macro call.  If you 
didn't supply TASKDD, then it worked exactly like ATTCHMVS.

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


Re: Friday Follies/Why won't this work?/TSO Rant #387

2020-05-22 Thread Robert Garrett
Your problem is caused by using lower case characters in your CART parameter 
value, the value of variable MyCart.   If you used all upper case, or all 
numerics, it would work fine. 
That's not documented anywhere that I've thus far been able to find.

Cheers,
Robert

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Seymour J Metz
Sent: Friday, May 22, 2020 11:01 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Friday Follies/Why won't this work?/TSO Rant #387


 I called my congressman and he said quote
 I'd like to help you son, but you're too young to vote.



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


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Charles Mills [charl...@mcn.org]
Sent: Friday, May 22, 2020 10:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Friday Follies/Why won't this work?/TSO Rant #387

What is wrong with this Rexx? (I spent about two hours debugging before I 
solved it.) The problem is right here on this page: the answer is NOT something 
in RACF or JES2. It's not something missing: it's a sin of commission, not a 
sin of omission. The below will never work. That is, the output will always be 
RC = 4 , Msgs = MYMSGS.0 , Msg.1 = MYMSGS.1. Why?

/* Rexx to test command/response */
MyCart = "MyCart01"
"CONSPROF SOLDISP(NO) SOLNUM(400)"
"CONSOLE ACTIVATE"
Address Console
"CART" MyCart
"$DQ"
RC = GETMSG('MYMSGS.','SOL',MyCart,,1)
Say "RC =" RC ", Msgs =" MYMSGS.0 ", Msg.1 =" MYMSGS.1 "CONSOLE DEACTIVATE"

Charles

--
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


FW: REXX assistance

2020-05-22 Thread Robert Garrett
Somehow, I managed to send this suggestion to the wrong mailing list a few days 
ago – my bad…


Hi Dave,
I've seen that kind of problem before myself invoking various IBM utilities 
repeatedly.  A lot of them assume that they will always run at the jobstep 
level and don't ever freemain their SP0 storage, instead "assuming" step 
termination will handle it for them.  That can cause problems like the one 
you're seeing (if you’re repeatedly calling them from a parent REXX exec).  The 
solution I've implemented in the past is to invoke those utilities using 
ATTCHMVS, which will run then under a new TCB which thus will obtain its own 
SP0 storage. When the utility finishes and that TCB gets detached,  that 
separate SP0 storage will get freemain'ed even if the utility doesn't clean up 
after itself, thus avoiding the problem.   I also wrote my own custom version 
of ATTCHMVS that allowed me to pass a loadlib to be used as a TASKLIB on the 
ATTACH. In my case, I was repeatedly invoking the CICS DFHCSDUP utility and 
needed to be able to call different releases of it dynamically from the parent 
exec.
Try using ATTCHMVS and see if that doesn't solve your problem.
Rob

From: Dave Jousma 
<01a0403c5dc1-dmarc-requ...@listserv.ua.edu>
Sent: Wed May 20 06:48:49 CDT 2020
To: "IBM-MAIN@LISTSERV.UA.EDU"
Subject: REXX assistance



All,

We have some relatively new Netview automation to process inbound FTP 
processing that is written in REXX, and over time we’ve seen Netview abends 
with 878’s, etc.   IBM indicates we may have a problem below the line, 
specifically SP0 being exhausted.   They are seeing a lot junk that looks like 
workpack volser’s PCW, temp dataset names, etc.   It is my belief that it 
is the remnants of calling IDCAMS to do our FTP processing to create special 
dataset catalog entries amongst other stuff and cleanup is not occurring that 
over time causes our problems.

Here is the bit of rexx code I am looking at.   Look at how IDCAMS is being 
called in line 318.  I’m not a REXX coding expert by any means.  Is that the 
equivalent of just a standard CALL? Or like entering TSO IDCAMS at a command 
line in TSO?  I’m wondering if there is a better way to call IDCAMS?   I see 
references to LINK, ATTACH, LINKMVS, ATTCHMVS, LINKPGM, ATTCHPGM.  I’m 
embarrassed to say that I do not know the nuances of each of these, and when 
appropriate to use.   Do any of these create a new environment, do the 
function, and then tear the environment down upon exit?  It seems like this is 
what we need to use to fix this issue.

000308 /*  */
000309 /*  We have now created all the IDCAMS statements, we now write them*/
000310 /*  to our dataset to be used as SYSIN for IDCAMS command   */
000311 /*  */
000312   Say "Number of Queued Lines is " QueuedLines
000313  Address MVS 'EXECIO 'QueuedLines' DISKW 'Infile' (FINIS'
000314 /*  */
000315 /*  The IDCAMS statement calls IDCAMS using the 2 DD names listed   */
000316 /*  after the command as SYSIN and SYSPRINT */
000317 /*  */
000318  IDCAMS Infile Outfile
000319   Say "IDCAMS RC for File Rename = " RC
000320  If RC > 4 Then
000321 Do
000322   Address MVS 'EXECIO * DISKR 'Outfile' (STEM Prtrex. FINIS'
000323   do xy = 1 to Prtrex.0
000324  Say "Idcams output = " Prtrex.xy
000325   end
000326 end
000327   "free fi("Infile")"
000328   "free fi("Outfile")"
000329



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: [EXTERNAL] Re: z/OS 2.4

2019-02-19 Thread Robert Garrett
It's because the official name isn't chosen until just before it goes GA. Up 
until then, even the developers don't know what the real name is going to be. 
It works the same way with CICS.
On Feb 19, 2019, at 2:21 AM, "Sankaranarayanan, Vignesh" 
mailto:vignesh.v.sankaranaraya...@marks-and-spencer.com>>
 wrote:

Any bets on it being renamed from "z/OS" to IBM Z OS?
Or, like Apple, call it "the new z/OS"..

– Vignesh
Mainframe Infrastructure

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Styles, Andy (ITS zPlatform Services)
Sent: 19 February 2019 07:51
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: z/OS 2.4

Classification: Public
Whenever I've seen something about the next release of z/OS, IBM have always 
referred to it as "the release after z/OS x.x". I suspect it's in case the 
marketing department notice and decide it's going to be called something else..

Andy Styles
z/Series System Programmer



-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Vernooij, Kees (ITOP NM) - KLM
Sent: 19 February 2019 07:43
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: z/OS 2.4

-- This email has reached the Bank via an external source --


Is it named V2.4 or V3.1 or ...?
The few references I saw about the z/OS version after 2.3 was named "the z/OS 
version after 2.3".

Kees.

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
 On Behalf Of Allan Staller
 Sent: 18 February, 2019 19:18
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: z/OS 2.4

 Has anybody seen the z/OS V2R4 preview announcement go by?

 If so, can you provide a link or Announcement number?

 TIA,

 ::DISCLAIMER::


 --


 --


 --


 The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only. E-mail transmission is not
 guaranteed to be secure or error-free as information could be
 intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
 may contain viruses in transmission. The e mail and its contents (with
 or without referred errors) shall therefore not attach any liability
 on the originator or HCL or its affiliates. Views or opinions, if any,
 presented in this email are solely those of the author and may not
 necessarily reflect the views or opinions of HCL or its affiliates.
 Any form of reproduction, dissemination, copying, disclosure,
 modification, distribution and / or publication of this message
 without the prior written consent of authorized representative of HCL
 is strictly prohibited. If you have received this email in error
 please delete it and notify the sender immediately. Before opening any
 email and/or attachments, please check them for viruses and other defects.


 --


 --


 --





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

For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286





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. 

Re: DEQ dynamically

2019-02-15 Thread Robert Garrett
Yes, you can. And it doesn't break anything.  In CICS there is a utility 
transaction, ADYN, that can be used to allocate/deallocate datasets. It calls 
SVC 99 "under the covers".  I've used it on many occasions to free allocations 
in a CICS region that had been made via DD statements in the region JCL, for 
example when I needed to change the allocation to a different dataset, or 
temporarily free one so I could run a batch process against it that needed 
exclusive control.
On Feb 14, 2019, at 8:32 PM, Larry Chenevert 
mailto:larrychenev...@verizon.net>> wrote:

I wonder: can I deallocate a dataset with DYNALLOC, that has been allocated
by the initiator because there is a DD statement?

Kees.


Table 1. Verb code 02 (dynamic unallocation) – Text unit keys, mnemonics,
and functions
Hex text unit key  MnemonicDYNALLOC function
.
0007 DUNUNALCSpecifies deallocation even if the
resource has the permanently allocated attribute.
.

DUNUNALC specifies that the resource is to be deallocated even if it has the
permanently allocated attribute. The remove in-use option key (DUNREMOV) is
mutually exclusive with DUNUNALC. When you code this key, # must be zero;
LEN and PARM are not specified.

Example: To specify the unalloc option, code:
KEY#  LENPARM
0007     - -

I have used this with success since the very late '70's
to deallocate datasets that were allocated in JCL.
It is currently in a product that is in the field.

Probably the reason you don't see this so much is there is rarely a need for
it.
But when you need it, you need it.

Larry Chenevert



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