Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Charles Hardee
Glad I could help. Chuck On Tue, Jan 7, 2025, 5:47 PM Richard Zierdt < richard.zie...@freschesolutions.com> wrote: > Yep — that works — &SYSSTYP ! Thank you, Chuck (Hardee) > > > From: IBM Mainframe Discussion List on behalf > of Paul Gilmartin <042bfe9c8

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Charles Hardee
I don't know that one is better than the other. They both have their uses. Basically, use what works best for your needs. On Tue, Jan 7, 2025, 4:28 PM Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Tue, 7 Jan 2025 23:04:35 +, Seymour J Metz wrote: > > >Aha! When

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Charles Hardee
Not really sure. I use it in macros when I need to create a different control section and then restore the previous one before exiting the macro. On Tue, Jan 7, 2025, 4:04 PM Seymour J Metz wrote: > Aha! When did that come in? I've been using LOCTR for that. > > -- > Shmuel (Seymour J.) Metz > h

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Richard Zierdt
Yep — that works — &SYSSTYP ! Thank you, Chuck (Hardee) From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, January 7, 2025 6:28 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Assembly

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Paul Gilmartin
On Tue, 7 Jan 2025 23:04:35 +, Seymour J Metz wrote: >Aha! When did that come in? I've been using LOCTR for that. > . Me too. Is there any reason to prefer &SYSSTYP.? > >From: Charles Hardee >Sent: Tuesday, January 7, 2025 5:58 PM > >Grab your handy

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Seymour J Metz
Aha! When did that come in? I've been using LOCTR for that. --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Charles Hardee <074f21ac15f

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Seymour J Metz
There's no way to do it, but there is a hack: use LOCTR. FOO CSECT BAR DSECT BAZ RSECT &SECTSETC 'BAR' &SECTLOCTR , --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Charles Hardee
Grab your handy dandy Assembler Language Reference and look up &SYSSTYP. It takes on the value os START, CSECT, DSECT, RSECT or COM. Chuck On Tue, Jan 7, 2025 at 3:30 PM Richard Zierdt < richard.zie...@freschesolutions.com> wrote: > When invoking a macro, it's nice if the macro restores the sect

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Charles Mills
Or another solution -- not saying better or worse, just another solution -- would be an XSECT or similar opcode so you could say SAVEAREA XSECT and it would effectively be a CSECT, DSECT or RSECT (or COMMON???) statement as appropriate. Charles -Original Message- From: IBM Mainframe Discu

Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Richard Zierdt
When invoking a macro, it's nice if the macro restores the section name, be it a CSECT or DSECT (or RSECT?), that invoked it. Example: ACSECT SAVEAREA DSECT MACRO1 (MACRO1 creates another DSECT, and can be invoked from a CSECT or DSECT) (MACRO1 has a &SYSECT CSECT statement at th

Re: HSM Audit Problem

2025-01-07 Thread Mike Schwab
Try an ADRDSSU COPY hlq.valid.name TO hlq.error.name REPLACE. https://www.ibm.com/docs/en/zos/2.4.0?topic=ccd-copy-dataset-command-syntax-logical-data-set On Tue, Jan 7, 2025 at 5:28 AM Jack Zukt <059cd493dd41-dmarc-requ...@listserv.ua.edu> wrote: > > Hi all, > Unfortunately, after reading the

Re: HSM Audit Problem

2025-01-07 Thread Jack Zukt
Hi all, Unfortunately, after reading the manual about the FIXCDS command I am not much better than I was before. So, I have a ten generation backup that has seven valid backups and three entries in error, which means that what I really have is a seven generation backup. There are three entries that

Re: HSM Audit Problem

2025-01-07 Thread Jack Zukt
Thank you Mark. I will look into it Regards Jack On Mon, 6 Jan 2025 at 18:05, Mark Jacobs < 0224d287a4b1-dmarc-requ...@listserv.ua.edu> wrote: > Take a look at the fixcds command. > > > https://www.ibm.com/docs/en/zos/3.1.0?topic=commands-maintenance-command-fixcds > > Mark Jacobs > > Sent