Re: Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread kekronbekron
Also, there was one recently (or there's going to be one soon) for resiliency type stuff. - KB ‐‐‐ Original Message ‐‐‐ On Thursday, June 17th, 2021 at 8:59 PM, Colin Paice wrote: > That z Academy site looked interesting. Is there a way of seeing other > > presentations from the

Re: Coding for the future

2021-06-17 Thread Charles Mills
Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mark Jacobs Sent: Thursday, June 17, 2021 8:49 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Coding for the future The primary purpose of the DATA statement is to give names

Re: Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread Ed Jaffe
On 6/17/2021 6:49 AM, Lionel B. Dyck wrote: Is anyone using this capability of DFSMShsm? Yes, and I *highly* recommend the use of a separate file mode HSM image. HOSTTYPE=CLASSIC (on your existing HSM) and HOSTTYPE=FILE on a brand new HSM with all of its own control data sets, etc. --

Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Billy Ashton
Kolusu, thanks once again! I will give this a try. I assume the Blksize of 4K will set the CISize to 4K... And do I need to do anything special with ShareOpts? -- Original Message -- From: "Sri h Kolusu" To: IBM-MAIN@listserv.ua.edu Sent: 6/17/2021 11:59:13 AM Subject: Re: Allocate

Re: Coding for the future

2021-06-17 Thread Seymour J Metz
Yes, LHI doesn't take any more room in the I-cache and may be marginally clearer. And, yes, if token is a single DS then L'token may be clearer. Maybe I'm jaded, but to me LA doesn't imply address any more than UNPK implies decimal -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: Coding for the future

2021-06-17 Thread Seymour J Metz
It may be tongue in cheek, but while the value of pi will never change, the precision that you need may change, and changing a single precision 3.14159 to a more precise extended precision value is a lot easier if it's only in one place. Besides, while mathematical constants don't change, some

Re: Coding for the future

2021-06-17 Thread Charles Mills
Are not the COBOL compilers smart enough to inline small subroutines? So there is no performance hit whatsoever from making a one-line function into a called subroutine? I know the C/C++ compiler is (whether you declare a method as inline or not, for those of you who are C/C++ people). Charles

Re: Coding for the future

2021-06-17 Thread Paul Gilmartin
On Thu, 17 Jun 2021 09:07:35 -0700, Charles Mills wrote: > > >Charles > It's more likely that there be a need to correct a typo, or worse an inconsistency, in scattered coded values of π. Put it in a header file. Somewhere, IBM supplies a macro that equates a symbol to 44 for the length of a

Re: Coding for the future

2021-06-17 Thread Eric D Rossman
My take on this as a programmer with only 23 years on z/OS, and only 10 years before that: My use of variable names and comments varies with the target audience but not that much. Whether I'm writing a sample that will have folks of nearly every skill level look at OR I'm writing code that I

Re: Coding for the future

2021-06-17 Thread Seymour J Metz
I might put a comment on the LA, but it would be a why comment, e.g., "Load BXLE increment". I believe in sensible structured programming but not in blind adherence to rigid dicta pompously handed down from on high. My mantra for the past half century has been "You have to carve the bird at

Re: Coding for the future

2021-06-17 Thread Tom Brennan
And just so y'all know, I'm not forcefully arguing and certainly appreciate the different points of view. On 6/17/2021 10:15 AM, Mike Hochee wrote: I suspect I'm a 'man overboard' on this one, but don't feel I need a life preserver. Having worked on some larger products with many many moving

Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Sri h Kolusu
>> I assume the Blksize of 4K will set the CISize to 4K... Billy, That is correct >> And do I need to do anything special with ShareOpts? I believe it defaults to SHAREOPTIONS to (3,3) If you need to model your LDS based on an existing LDS then you can use the LIKE parm //STEP0300 EXEC

Re: Coding for the future

2021-06-17 Thread Mike Hochee
I suspect I'm a 'man overboard' on this one, but don't feel I need a life preserver. Having worked on some larger products with many many moving parts, and not of my own making, I would always welcome the use of Token_Len, and if it is being used to prime a register, no comment really needed.

Re: SMPE

2021-06-17 Thread Gerhard Adam
There is only one relevant zone; the TARGET for the system being examined. The GLOBAL zone may have FMIDs deleted depending on the ACCEPT options and items may not even be APPLIED (if they have only been RECEIVEd).The DLIB zone will only show elements that have been ACCEPTed. The PRODUCT

Re: Coding for the future

2021-06-17 Thread Paul Gilmartin
On Thu, 17 Jun 2021 01:25:43 +, Seymour J Metz wrote: > >BTW, it is possible to create links to specific pages between PDF documents on >the WWW. > Can you supply a rendered example I can try? If the ability is viewer-specific, please identify the viewer. Thanks, gil

Re: Coding for the future

2021-06-17 Thread Seymour J Metz
I believe that current compilers will inline such an internal subroutine,, but does putting the move in a subroutine make it easier or harder for the human reader? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion

Re: Coding for the future

2021-06-17 Thread Jeremy Nicoll
On Thu, 17 Jun 2021, at 18:27, Seymour J Metz wrote: > My mantra for the past half century has been "You have > to carve the bird at the joints." Squawk! Translation: "leave the bird alone!" -- Jeremy Nicoll - my opinions are my own.

Re: Coding for the future

2021-06-17 Thread Seymour J Metz
I've seen lots of things changed after assurances that they never would; if there's no performance penalty, I prefer to play safe. I'd have to see the COBOL code in context to judge whether a subroutine is overkill, but I'm no fan of rigid stylistic rules. OTOH, a style that is a harmful

Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Seymour J Metz
You can use bpxwdyn, or alloc under TSO, to allocate an LDS from REXX. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Billy Ashton [bill00ash...@gmail.com] Sent:

Re: SMPE

2021-06-17 Thread Seymour J Metz
Does the OP know what the relevant zones are? Has the installation configured z/OSMF to have the relevant global zones? The mechanics are easy once the requirements are laid out in detail. BTW, should the SMP documentation point to, e.g., z/OSMF, for things that SMP itself doesn't automate, or

Re: SMPE

2021-06-17 Thread Kurt Quackenbush
On 6/16/2021 11:56 AM, CarlosM wrote: Would anyone have the JCL/statements necessary to produce a SMPE report of ALL installed products? To be sure we're using the same terminology, a "PRODUCT" to SMP/E is a collection of FEATUREs, and each FEATURE is a collection of FMIDs. A PRODUCT is

Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Colin Paice
I dont think there is. (There didnt used to be) On Thu, 17 Jun 2021 at 15:30, Billy Ashton wrote: > Hey everyone, here is a quick question. I am looking at some of our > utilities and production control tools, and wanted to know if anyone has > samples to allocate a DB2 VSAM LDS (1) using JCL

Re: Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread Colin Paice
That z Academy site looked interesting. Is there a way of seeing other presentations from the z/Academy, it is asking for an w3 IBM id - or a box it. Do I need a box it or is there a magic url I can use? Colin On Thu, 17 Jun 2021 at 15:12, kekronbekron <

Migration Netview Access to CL/Supersession

2021-06-17 Thread Gilson Cesar de Oliveira
Dear list: I'd like to know if someone have migrated the Session Manager from Netview Access to CL/Supersession. We are starting to do it and I could not find if there is a process to migrate in order to keep the groups defined in RACF for Access to be used in CL/Supersession.

Allocate DB2 LDS with JCL?

2021-06-17 Thread Billy Ashton
Hey everyone, here is a quick question. I am looking at some of our utilities and production control tools, and wanted to know if anyone has samples to allocate a DB2 VSAM LDS (1) using JCL parameters only - not with IDCAMS, or (2) with Rexx? If so, I would appreciate it - I have not found

Re: List Storage Group Information

2021-06-17 Thread Jack Zukt
Thank you for this info I am going to try this one Regards jack On Thu, 17 Jun 2021 at 16:17, Colin Paice wrote: > DCOLLECT produces flat file of info see > > https://www.ibm.com/docs/en/zos/2.3.0?topic=environment-storage-group-data-collection-example-2 > Example JCL > > //COLLECT2 JOB...

Re: Coding for the future

2021-06-17 Thread Paul Gilmartin
On Thu, 17 Jun 2021 16:53:30 +1000, Wayne Bickerdike wrote: >Many years ago I worked with a very smart assembler programmer. He >developed a suite of programs that built Assembler programs using Michael >Jackon Structured programming constructs. > Aren't you describing what's called a "compiler"?

Re: Coding for the future

2021-06-17 Thread Charles Mills
Love your emulator @Tom but agree with all of these comments. I did not bother to mention LHI versus LA for this usage (because I did not want to descend into "fastest way to clear a register" wars ) but yes, LHI & AHI are more clear in their purpose, support larger and also negative values,

Re: Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread kekronbekron
Hi Lionel, Please see if something in here helps - https://ibm.ent.box.com/v/DFSMS-Academ-DFSMShsm2021 These are HSM sessions from a recent IBM zAcademy. I'm sure there'll be something in there covering USS and HSM. - KB ‐‐‐ Original Message ‐‐‐ On Thursday, June 17th, 2021 at 7:30

Re: Coding for the future

2021-06-17 Thread Paul Gilmartin
On Wed, 16 Jun 2021 19:22:53 -0700, Tom Brennan wrote: >I'd actually rather read LA R7,5 so I don't have to hunt for where >Token_Len is defined. > I feel otherwise. o Won't ISPF Edit under Vista perform the hunt for you? o The value appears in the assembler listing. o It rarely matters; only

Re: Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread Allan Staller
Classification: Confidential IIRC, this was implemented via a PTF. Hopefully Glenn Wilcox will see this and respond. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lionel B. Dyck Sent: Thursday, June 17, 2021 8:50 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Using

List Storage Group Information

2021-06-17 Thread Jack Zukt
Hi, I am trying to extract information from SMS regarding all the storage groups that are defined to one system and all of the associated information for each of these storage groups, including the description, if there is one. As there more then a hundred storage groups defined,doing this using

Re: Coding for the future

2021-06-17 Thread Tom Brennan
Of course! But now let's say there's only one instance of TOKEN_LEN being referenced and it's highly unlikely to ever be changed. That's the case I'm talking about here - which I think happens far more often than fields that change their size over time. Sometimes people go a bit overboard

Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread Lionel B. Dyck
I am trying to use DFSMShsm to backup some files in OMVS and have not found the correct incantation to get it working. I keep getting 0C4's: /home/: >hbackup file ARC1001I /home//file BACKDS FAILED, RC=0900, REAS= ARC1900I DFSMSHSM ABEND S0C4 OCCURRED PROCESSING REQUEST And I

Re: Coding for the future

2021-06-17 Thread Robin Vowels
On 2021-06-17 19:15, Rob Scott wrote: When it comes time to change the length of a token, or locate usage occurrences, I would much prefer to hunt for Token_Len rather than determine usage context for some numeric. I would also probably feel more confident about the results. Absolutely - let

Re: List Storage Group Information

2021-06-17 Thread Rob Scott
Depending on the amount of definition information you need, the SDSF "SMSG" command can be used to get a list of all the active SMS storage groups. This includes "Type", "Status", "LastUser", "Change-Date-Time" and "Description" along with the various counts and space usage statistics. Note

Re: List Storage Group Information

2021-06-17 Thread Colin Paice
DCOLLECT produces flat file of info see https://www.ibm.com/docs/en/zos/2.3.0?topic=environment-storage-group-data-collection-example-2 Example JCL //COLLECT2 JOB... //STEP1EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //OUTDSDD DSN=USER.DCOLLECT.OUTPUT, // STORCLAS=LARGE, //

Re: List Storage Group Information

2021-06-17 Thread Jack Zukt
Ouch... I should have been able to find that one in one of the manuals Thank you very much :) On Thu, 17 Jun 2021 at 16:17, Rob Scott wrote: > Depending on the amount of definition information you need, the SDSF > "SMSG" command can be used to get a list of all the active SMS storage > groups.

Re: Coding for the future

2021-06-17 Thread Mark Jacobs
The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the

Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Sri h Kolusu
>> if anyone has samples to allocate a DB2 VSAM LDS (1) using JCL parameters Billy, JCL supports the parm RECORG and you can define the LDS as follows //STEP0100 EXEC PGM=IEFBR14 //LDSCRE DD DSN=, //DISP=(NEW,CATLG,DELETE), //SPACE=(CYL,(60,20)), //

Re: Coding for the future

2021-06-17 Thread Tom Brennan
On 6/17/2021 6:21 AM, Paul Gilmartin wrote: On Wed, 16 Jun 2021 19:22:53 -0700, Tom Brennan wrote: I'd actually rather read LA R7,5 so I don't have to hunt for where Token_Len is defined. I feel otherwise. o Won't ISPF Edit under Vista perform the hunt for you? No matter what method is used

Re: Coding for the future

2021-06-17 Thread Colin Paice
I always wanted to give a programming course where you drove the class's applications till they broke (perhaps bad data, or running multiple instances in parallel). The class would spend 5 minutes per problem. 1. You got one mark for every problem you identified in someone else's code 2.

Re: Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread Lionel B. Dyck
Perfect - I found the answer and have it working. Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden

Re: Using HBACKDS or OMVS hbackup for USS files?

2021-06-17 Thread kekronbekron
It is entirely up to IBM to make their own excellent content easily accessible. I happened to sign up for this particular one, so got the link to this one from Christy (I think). - KB ‐‐‐ Original Message ‐‐‐ On Thursday, June 17th, 2021 at 8:59 PM, Colin Paice wrote: > That z

Re: SMPE

2021-06-17 Thread Carmen Vitullo
+ 1 for the suggestion to use z/OSMF to list products installed, once the CSI's are defined to the software management it queries the CSI and list all the currently installed products Carmen On 6/17/2021 9:24 AM, Kurt Quackenbush wrote: On 6/16/2021 11:56 AM, CarlosM wrote: Would anyone have

Re: Coding for the future

2021-06-17 Thread Wayne Driscoll
Until the definition of a token changes such that the new length is 32 instead of 5. Changing the one macro that defines TOKEN_LEN is much easier than searching for all instances of LARx,5 and then determining if it is process a TOKEN, or if the value is for some other reason. Wayne

Re: Coding for the future

2021-06-17 Thread Seymour J Metz
It works on firefox; I haven't tried any mobile platforms. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe

Re: Coding for the future

2021-06-17 Thread Paul Gilmartin
On Thu, 17 Jun 2021 23:49:59 +, Seymour J Metz wrote: > > >It works on firefox; I haven't tried any mobile platforms. > Thanks. Oops! With Firefox: Not Found The requested

Re: SMPE

2021-06-17 Thread CarlosM
Thank you all,, Actually all I needed to know is if we have COBOL installed as an MVS newbe if did nor know how to list ALL software products installed. in VSE it's Simple // EXEC MSHP,SIZE=456k RETR /* /& And it'done. we do not have the COBOL compiler  (Does MVS come with COBOL run

Re: Coding for the future

2021-06-17 Thread Paul Gilmartin
On Thu, 17 Jun 2021 23:49:59 +, Seymour J Metz wrote: > > >It works on firefox; I haven't tried any mobile platforms. Try:

Re: SMPE

2021-06-17 Thread Seymour J Metz
1. Which target zone? The OP may have many. Also, the OP may not know their names. 2. The OP may want to report on accepted functions. 3. At this point, none of us knows what the OP actually wants. 4. Once the OP pins down the requirements, what's left is the easy part. -- Shmuel

Re: SMPE

2021-06-17 Thread Gibney, Dave
COBOL runtime, which also runtime for other languages is called Language Environment, LE. And is part of base z/OS. in fact, these days, z/os probable won't run without it. > -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of CarlosM > Sent: Thursday, June 17,

Re: Coding for the future

2021-06-17 Thread Mike Hochee
The label Token_Len has obvious meaning. The number 5 has no intrinsic meaning from just looking at the instruction and requires context/comment. When it comes time to change the length of a token, or locate usage occurrences, I would much prefer to hunt for Token_Len rather than

Re: Coding for the future

2021-06-17 Thread Wayne Bickerdike
Many years ago I worked with a very smart assembler programmer. He developed a suite of programs that built Assembler programs using Michael Jackon Structured programming constructs. It was called CODEL and basically you wrote the structure constructs, SEQUENCE, ITERATION and SELECT as if it were

Re: Coding for the future

2021-06-17 Thread Rob Scott
>> When it comes time to change the length of a token, or locate usage >> occurrences, I would much prefer to hunt for Token_Len rather than determine >> usage context for some numeric. I would also probably feel more confident >> about the results. Absolutely - let ASMA90 do the work. Magic

Re: Coding for the future

2021-06-17 Thread Seymour J Metz
And if you have to change the token length ... BTDT,GTS (noo T shirt, just the scars) -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tom Brennan

Re: SMPE

2021-06-17 Thread Seymour J Metz
Yes, but the OP still needs to identify the relevant zones and report types. Slapping the JCL together is the easy part. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of