Re: rename a dataset in acs routine?

2020-09-18 Thread Gibney, David Allen
JES exit 6 > -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of Brian Westerman > Sent: Friday, September 18, 2020 9:05 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: rename a dataset in acs routine? > > They would like an approach that didn't include editing the

Re: rename a dataset in acs routine?

2020-09-18 Thread Paul Gilmartin
On Fri, 18 Sep 2020 23:05:04 -0500, Brian Westerman wrote: >They would like an approach that didn't include editing the thousands of JCL >sets. > Thousands!? Not just one with parameters!? The design is wrong. It will remain broken until it's fixed. Facing a similar requirement once, I

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
Actually I'm leaning towards the JES or SMF UJI exit as well. File tailoring doesn't help in this case because most of the JCL doesn't get submitted via TSO. Brian On Fri, 18 Sep 2020 16:41:29 +, Seymour J Metz wrote: >Well, if they want to use a chainsaw to open a bag of peanuts, you

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
Changing the JCL is my preferred method, but they would like an "easier" way. Also, D09182020 is 9 characters, so would cause a JCL error. But I understand what you meant. :) Brian On Fri, 18 Sep 2020 16:37:30 +, Sasso, Len wrote: > //*

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
I don't see that you can do that with tapes, the hdr1 won't match the new DSN. On Fri, 18 Sep 2020 07:19:33 -0700, Sri h Kolusu wrote: >>The problem is that they want to know if there is a way to automatically >catalog datasets at creation time, to which I told them we could, but only >1 of

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
I agree, but that decision was made 30 years ago. On Fri, 18 Sep 2020 15:28:40 +0300, Binyamin Dissen wrote: >On Fri, 18 Sep 2020 02:36:24 -0500 Brian Westerman > wrote: > >:>I was asked a question today that I honestly don't know how to answer. The >programmer has a (very large) series of

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
dealing with the existing tapes is doable via a rexx exec that submits a series of IEBGENER, but it's the JCL that they want (preferably SMS) to deal with. On Fri, 18 Sep 2020 07:12:15 -0500, Paul Gilmartin wrote: >On Fri, 18 Sep 2020 17:34:17 +0800, Brian Fraser wrote: > >>Why can't his jobs

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
They would like an approach that didn't include editing the thousands of JCL sets. On Fri, 18 Sep 2020 17:34:17 +0800, Brian Fraser wrote: >Why can't his jobs generate dsns like HLQ.FICHE.TAPE.D091720.T1123 ? >Can use system symbols to generate the date and time in the JCL output DD. > >Brian

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
I'm all for editing the JCL, but they say there are far too many to do at one time, (and not screw it up) n Fri, 18 Sep 2020 19:32:01 +1000, Greg Price wrote: >On 2020-09-18 5:36 PM, Brian Westerman wrote: >> would dynamically make it HLQ.FICHE.TAPE.D091720.T1123 > >I don't suppose the

Re: rename a dataset in acs routine?

2020-09-18 Thread Mike Schwab
Renaming a tape? The last 17 characters are on the label of the tape so it must remain the same or any use will result in a Tape DSN name mismatch. You will also need to Update TMS, RMM, and any tape management system that uses the data set name. MUCH easier to just create new tape correctly

Re: Substituting SYSIN variables via EXPORT SYMLIST containing mixed-case values

2020-09-18 Thread Paul Gilmartin
On Fri, 18 Sep 2020 13:12:01 -0500, Wendell Lovewell wrote: >Is there a way to get a mixed-case string substituted into SYSIN data using >"EXPORT SYMLIST=*" and the "DD *,SYMBOLS=(JCLONLY)" facility? > Rules to remember: o The JCL reader/converter/interpreter *always* takes SYSIN

Re: Substituting SYSIN variables via EXPORT SYMLIST containing mixed-case values

2020-09-18 Thread Wendell Lovewell
Well John, to risk stating the obvious, "You're a genius!" :) Thanks a lot! Wendell -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Substituting SYSIN variables via EXPORT SYMLIST containing mixed-case values

2020-09-18 Thread Sasso, Len
--- //FTP PROC //* //PS0010 EXEC PGM=FTP,REGION=6M //SYSPRINT DD SYSOUT=* //OUTPUT DD SYSOUT=* //* //INPUTDD DUMMY

Re: Searching MLPA module

2020-09-18 Thread Seymour J Metz
Yes, and NOPROT should be used only until you clean up the code, but at least IBM no longer has nonrefreshable code in the LPA. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Joe Monk Sent:

Re: Searching MLPA module

2020-09-18 Thread Joe Monk
"The MLPA is read-only, unless NOPROT is specified on the MLPA system parameter." So, the default is read-only. https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae100/mlpae.htm Joe On Fri, Sep 18, 2020 at 1:43 PM Seymour J Metz wrote: > The MLPA is key zero and

Re: Substituting SYSIN variables via EXPORT SYMLIST containing mixed-case values

2020-09-18 Thread Barry Snoots
Understood -Original Message- From: John McKown Sent: Friday, September 18, 2020 1:33 PM Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Substituting SYSIN variables via EXPORT SYMLIST containing mixed-case values Try using 3 ticks.

Re: Searching MLPA module

2020-09-18 Thread Seymour J Metz
The MLPA is key zero and it's bad form to put nonrefreshable code there, but it is not always read only. Unlike PLPA, it is subject to page out. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of

Re: Substituting SYSIN variables via EXPORT SYMLIST containing mixed-case values

2020-09-18 Thread John McKown
Try using 3 ticks. FTPFILE='''lowercase''' On Fri, Sep 18, 2020, 13:12 Wendell Lovewell < 01e9c0ee0673-dmarc-requ...@listserv.ua.edu> wrote: > Is there a way to get a mixed-case string substituted into SYSIN data > using "EXPORT SYMLIST=*" and the "DD *,SYMBOLS=(JCLONLY)" facility? > > I'm

Substituting SYSIN variables via EXPORT SYMLIST containing mixed-case values

2020-09-18 Thread Wendell Lovewell
Is there a way to get a mixed-case string substituted into SYSIN data using "EXPORT SYMLIST=*" and the "DD *,SYMBOLS=(JCLONLY)" facility? I'm trying to download files from an FTP server to z/OS using a PROC similar to this: //*- //FTPTEST PROC FTPFILE=

Re: Searching MLPA module

2020-09-18 Thread Mark Jacobs
By default, yes. OP can specify the NOPROT option on the MLPA=xx specification in IEASYSxx. 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,

Re: Searching MLPA module

2020-09-18 Thread Joe Monk
Thats incorrect. MLPA is read only. Joe On Fri, Sep 18, 2020 at 9:42 AM Itschak Mugzach < 0305158ad67d-dmarc-requ...@listserv.ua.edu> wrote: > MLPA is in CSA and is modifiable while lpa is read only. > > בתאריך יום ו׳, 18 בספט׳ 2020, 17:17, מאת Peter ‏: > > > Apology for being ingorant ..

Re: rename a dataset in acs routine?

2020-09-18 Thread Allan Staller
Classification: HCL Internal See my earlier. IMO, the answer is Not Possible -Original Message- From: IBM Mainframe Discussion List On Behalf Of Brian Westerman Sent: Friday, September 18, 2020 2:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: rename a dataset in acs routine? [CAUTION:

Re: rename a dataset in acs routine?

2020-09-18 Thread Seymour J Metz
Well, if they want to use a chainsaw to open a bag of peanuts, you could write a JES exit, but the proper way to handle it is for the process that creates the JCL to generate a unique name. If they're using ISPF it's super easy to do it with File Tailoring, and many production control programs

Re: rename a dataset in acs routine?

2020-09-18 Thread Sasso, Len
//* //EXPORT EXPORT SYMLIST=(MNTH,DY,YR) //SETSYMBL SET MNTH=,DY=,YR= //* HLQ.FICHE.TAPE.D = HLQ.FICHE.TAPE.D09182020 Thank You and Please Be Safe! Len Sasso Systems Administrator Senior

Re: rename a dataset in acs routine?

2020-09-18 Thread Seymour J Metz
Mike designed REXX as a programming language. JCL is not and was never intended to be a programming language. This is something that should be handled in the environment that creates and submits the JCL. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: Searching MLPA module

2020-09-18 Thread Greg Price
On 2020-09-19 12:17 AM, Peter wrote: if LPA and MLPA are same LPA covers PLPA, MLPA, FLPA and DLPA. PLPA is built when CLPA is specified at IPL time. MLPA and FLPA are built every IPL time when required - they may have zero size if no modules are loaded there - the modules to be load in

Re: Searching MLPA module

2020-09-18 Thread Seymour J Metz
No, Everything in FLPA, MLPA and PLPA is LPA. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Itschak Mugzach <0305158ad67d-dmarc-requ...@listserv.ua.edu> Sent: Friday, September 18, 2020

Re: Searching MLPA module

2020-09-18 Thread Itschak Mugzach
MLPA is in CSA and is modifiable while lpa is read only. בתאריך יום ו׳, 18 בספט׳ 2020, 17:17, מאת Peter ‏: > Apology for being ingorant .. if LPA and MLPA are same then why are they > being placed in a different parmlibs ? Aren't any difference between MLPA > and LPA ? > > On Fri, 18 Sep, 2020,

Re: rename a dataset in acs routine?

2020-09-18 Thread Sri h Kolusu
>The problem is that they want to know if there is a way to automatically catalog datasets at creation time, to which I told them we could, but only 1 of them because you can't catalog two datasets with the same name. Generate the RENAME cards in the same program/JCL to rename the file from

Re: Searching MLPA module

2020-09-18 Thread Peter
Apology for being ingorant .. if LPA and MLPA are same then why are they being placed in a different parmlibs ? Aren't any difference between MLPA and LPA ? On Fri, 18 Sep, 2020, 5:56 pm Peter, wrote: > We have a MLPA module from adabas which got loaded But we aren't able to > trace from which

Re: rename a dataset in acs routine?

2020-09-18 Thread Pew, Curtis G
On Sep 18, 2020, at 2:36 AM, Brian Westerman wrote: > > I can't think of a way to do that in an acs routine, or any other simple way, > and I'm hoping that someone has an idea that might apply here. I think I can > alter almost anything about the dataset, except the name. Is there

Re: Searching MLPA module

2020-09-18 Thread Peter
We have a MLPA module from adabas which got loaded But we aren't able to trace from which dataset it was loaded. Is there a way to know the dataset name from which or where it is saved ? On Fri, 18 Sep, 2020, 4:16 pm Itschak Mugzach, < 0305158ad67d-dmarc-requ...@listserv.ua.edu> wrote: >

Re: rename a dataset in acs routine?

2020-09-18 Thread Allan Staller
Classification: HCL Internal As I am sure you know, ACS routines only apply at creation time and don’t have the power to alter the DSN anyway. ISTR a (fairly recent (z/OS 1+)) modification that will allow creation and cataloging of a 2nd dataset with the same name and avoiding the NOT CATLGD 2

Re: rename a dataset in acs routine?

2020-09-18 Thread Allan Staller
Classification: HCL Internal Paul, That is incorrect. DYNAMIC system symbols were not supported until JES2 V2. (Z/OS 2.1+). The installation gets to define where symbols are resolved via JESPARMS STATIC system symbols have been supported for "eons". (e.g. SYSDATE, SYSIME, SYSUID). Init and

Re: rename a dataset in acs routine?

2020-09-18 Thread Binyamin Dissen
On Fri, 18 Sep 2020 02:36:24 -0500 Brian Westerman wrote: :>I was asked a question today that I honestly don't know how to answer. The programmer has a (very large) series of jobs that generate fiche tapes that get created and have a expiration date but never are cataloged (because they all

Re: Searching MLPA module

2020-09-18 Thread Itschak Mugzach
Peter, There are some 3rd party products that load modules to modified LPA (CSA or ECSA) as they start. They do it dynamically so if they don't start, you save the storage. ITschak *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere Platform* *|* *Information Security

Re: rename a dataset in acs routine?

2020-09-18 Thread Paul Gilmartin
On Fri, 18 Sep 2020 17:34:17 +0800, Brian Fraser wrote: >Why can't his jobs generate dsns like HLQ.FICHE.TAPE.D091720.T1123 ? >Can use system symbols to generate the date and time in the JCL output DD. > I understand that system symbols are not supported in JCL DSNs because of o ambiguity

Re: Searching MLPA module

2020-09-18 Thread Peter Relson
Is there any utility which can help to search the loaded MLPA module ? What do you mean by "search the loaded MLPA module"? A program can use CSVQUERY to locate the address of a module in LPA (whether PLPA, MLPA, FLPA, or dynamic LPA), just as it can use LOAD and then DELETE (CSVQUERY

Re: rename a dataset in acs routine?

2020-09-18 Thread Brian Fraser
Why can't his jobs generate dsns like HLQ.FICHE.TAPE.D091720.T1123 ? Can use system symbols to generate the date and time in the JCL output DD. Brian On Fri, 18 Sep 2020 at 15:36, Brian Westerman wrote: > Hi, > > I was asked a question today that I honestly don't know how to answer. > The

Re: rename a dataset in acs routine?

2020-09-18 Thread Greg Price
On 2020-09-18 5:36 PM, Brian Westerman wrote: would dynamically make it HLQ.FICHE.TAPE.D091720.T1123 I don't suppose the hard-coded data set name can be changed to include dynamic system symbols in new low-level qualifiers which would be resolved to the current date and time? Cheers, Greg

rename a dataset in acs routine?

2020-09-18 Thread Brian Westerman
Hi, I was asked a question today that I honestly don't know how to answer. The programmer has a (very large) series of jobs that generate fiche tapes that get created and have a expiration date but never are cataloged (because they all have exactly the same DSN). So over time, they ended up

Re: Searching MLPA module

2020-09-18 Thread Binyamin Dissen
On Fri, 18 Sep 2020 07:43:21 +0400 Peter wrote: :>Is there any utility which can help to search the loaded MLPA module ? Is :>it possible to load MLPA dynamically by avoiding IPL?(apology if this a :>ignorant question) :>We have a product which loads via MLPA and we just trying to understand

Re: Searching MLPA module

2020-09-18 Thread Rob Scott
If you have SDSF for z/OS 2.4 you can use the "LPD" command (Link Pack Directory) Rob Scott Rocket Software -Original Message- From: IBM Mainframe Discussion List On Behalf Of Peter Sent: 18 September 2020 04:43 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Searching MLPA module EXTERNAL

Re: NJE via SNA/EE

2020-09-18 Thread Barbara Nitz
>We ran a mixture of TCP and SNA NJE for a long, long time and then >eventually (by accident in fact) ended up with an OSA hardware >configuration that could no longer support SNA. We couldn't use EE >because both ends of the connection were not MVS. So we capitulated and >changed everything over

Re: Searching MLPA module

2020-09-18 Thread Itschak Mugzach
Yes. בתאריך יום ו׳, 18 בספט׳ 2020, 8:58, מאת Peter ‏: > IEALPAxx and LPALSTxx treated in same way ? > > > > > On Fri, 18 Sep, 2020, 9:44 am Seymour J Metz, wrote: > > > You can search an LPA module with IPCS. > > > > In addition to the SETPROG command there's the CSVDYLPA macro. > > > > > > --