¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Hi.

I'm carefully reading?
My main concern is that some of the parameters there proposed may not be present in MVS IDECAMS version. I have to figure that out.
Beyond that, the guide reads clear, comprehensive and to the point. Reminds me to a kind of 'Linux Howto' Mainframish equivalent. It covers several scenarios and use cases, including the one I'm in: redefining my Catalog to have more growing space. Very good point!

Regarding your proposed 'high level' roadmap. Sure, best bet is backup everything first!
In fact I'm going to arrange a separate Tk5 as testing ground to practice all this... I think the hercules DASD shadowing feature could be helpful in this scenario in order to 'rollback' from foreseeable 'screwed up' situations (I have never used it).
But I have to further read on repro... I found that it can do many things! so I fail to see the meaning and differences between roadmap steps 2 and 3 (I grasp it goes towards having VSAM stuff dumped to vanilla PS datasets).

You're helping me a lot! thank you!


Re: Trying to migrate TUN networking connection to TAP

 

Hi Patrik,

Happy New Year.

Here are some comments based on my experience with OS/390 on TAPs.? I don't use EE, but APPN and Subarea SNA work, as well as TCPIP.? I do not run Hercules as root.

---8<--- /etc/network/interfaces ---8<---

auto eth1 tap0 tap1 br0

# Hercules OS/390: Port LAN Port
iface eth1 inet manual
up /sbin/ip link set dev $IFACE up

# Hercules OS/390: TAPs for Bridging.
iface tap0 inet manual
pre-up /sbin/ip tuntap add mode tap
up /sbin/ip link set dev $IFACE address 02:00:FE:DF:00:42
up /sbin/ip link set dev $IFACE up
post-down /sbin/ip link del dev $IFACE

iface tap1 inet manual
pre-up /sbin/ip tuntap add mode tap
up /sbin/ip link set dev $IFACE address 02:00:FE:DF:01:42
up /sbin/ip link set dev $IFACE up
post-down /sbin/ip link del dev $IFACE

# Bridge everything together and assign an IP address to the bridge.
iface br0 inet static
address 192.168.59.12
netmask 255.255.255.128
gateway 192.168.59.1
bridge_ports tap0 tap1 eth1

---8<---
I run the network manager now, but based on some old notes I had from before, I don't see any issues with your configuration.? It looks like mine did before converting over to NMCLI.? Since it's working for SNA, that seems a good indicator that it should be right.

Hercules configuration excerpt:

---8<---

0E40 LCS -e SNA tap0
0E42.2 LCS tap1

---8<---
Yep, looks like mine (except for the TAP names).
5ce.2 LCS tap0501??????????????????? # for Linux / TCPIP
5de LCS -e SNA tap0502?????????????? # for Linux / SNA/APPN
5ee LCS -e SNA tap0503?????????????? # for Linux / SNA/Subarea

Relevant configuration excerpts from TCPIP.PROFILE.TCPIP:

---8<---

; Required for EE
DEVICE IUTSAMEH MPCPTP
LINK LSAMEH MPCPTP IUTSAMEH
?DEVICE VIPA1??? Virtual 0???? ?
?LINK?? LVIPA1?? Virtual 0 VIPA1
?DEVICE IUTSAMEH MPCPTP??????? ?
?LINK?? LSAMEH?? MPCPTP IUTSAMEH
I have a VIPA in my config that you don't, but I can't see that affecting basic functionality.

DEVICE LCS1 LCS E42
LINK TAP1 ETHERNET 1 LCS1
Here's my config for the LCS.? I see you are specifying port 1 where I have 0, you might try switching that.
? DEVICE ENT0?? LCS??????? 5CE ?
? LINK?? EN0??? ETHERNET 0 ENT0

HOME
192.168.59.89 TAP1
Looks good.

PRIMARYINTERFACE TAP1
Same, same.

GATEWAY
;
; Direct Routes - Routes that are directly connected to my interfaces.
;
; Network First Hop Link Pkt Subnet Mask Subnet Value
; Class Hop Name Size (excl. Class!) (Remainder)

;The next commented line gives us an error:
;17.10.00 STC00043 EZZ0312I THE SUBNET MASK ON LINE 230 CONTAINS AN INCORRECT VALUE 0.0
;192.168 = TAP1 1492 0.0.255.128 0.0.59.0
192.168.59 = TAP1 1492 0


DEFAULTNET 192.168.59.1 TAP1 1492 0
I gave up trying to figure out IBM's GATEWAY format and went with BEGINROUTES/ENDROUTES.? It was just easier for me to look at and understand..
?BEGINROUTES??????????????????????????????????????????????????????? ?
; ROUTE Destination???? Subnet Mask???? First Hop?????? Link MTU Size
; ROUTE xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx EN0? MTU 1492
? ROUTE 192.168.1.0/24????????????????? =?????????????? EN0? MTU 1492
? ROUTE 10.0.0.0/8????????????????????? 192.168.1.21??? EN0? MTU 1492
? ROUTE 172.16.0.0/12?????????????????? 192.168.1.21??? EN0? MTU 1492
? ROUTE 192.168.0.0/16????????????????? 192.168.1.21??? EN0? MTU 1492
? ROUTE DEFAULT???????????????????????? 192.168.1.254?? EN0? MTU 1492
?ENDROUTES??????????????????????????????????????????????????????????

START LCS1
START IUTSAMEH
Yep, me too.

---8<---
So, I guess the only possible configuration issue I can see would be the port number on the LCS LINK statement.

Link starts without error:

17.55.46 STC00052 EZZ4314I INITIALIZATION COMPLETE FOR DEVICE LCS1, LINK TAP1
Yep
15.02.55 STC01703? EZZ4314I INITIALIZATION COMPLETE FOR DEVICE ENT0, LINK EN0

I can see the MAC addresses of all three bridged devices on the switch port:

sw-keller-1g#show mac address-table | incl Gi0/2$
1 0200.fedf.0043 DYNAMIC Gi0/2
1 0200.fedf.0143 DYNAMIC Gi0/2
1 7efc.3ef5.66ca DYNAMIC Gi0/2

I can see the MACs of the IP interface on OS/390 in the switch here.? I can ping to and from a VM/ESA image on a different switch port and I've got a Subarea SNA link up to it as well.

s3560a>show mac address-table | inc Fa0/3
?? 1??? 0200.0200.0000??? DYNAMIC???? Fa0/3? <-- Raspberry Pi bridge interface
?? 1??? 0205.0100.0001??? DYNAMIC???? Fa0/3? <-- OS/390 TCP/IP interface
s3560a>

Note that the TAP code automatically increments the MAC address given while configuring the interface by one. So, the host-local side of the TAP has 02:00:fe:df:01:42, but the guest-local side uses 02:00:fe:df:01:43!
Right.? I configured a .00 address in NMCLI and Hercules bumped it to .01 for OS/390.

I'll skip the traces for now.? If the config issue above doesn't answer this, hit me up and I'll take another run with traces.

FYI, to help understand the below output, my current set up is:

OS/390 ----- Raspberry Pi ----- Cisco 3560 ----- Raspberry Pi ----- VM/ESA

My OS/390 image (hostname JS05, 192.168.1.105) is running on a Raspberry Pi (Pi2, 192.168.1.2).? Pi2 is connected to switch port Fa0/3 on the 3560.? My VM/ESA image (JS01, 192.168.1.101) is running on Pi1, IP address 192.168.1.1.? It is connected to switch port Fa0/1 on the 3560.

The OS/390 interfaces have the following MAC addresses:
TCPIP - 02.03.01.00.00.01? (my TAP0501, equivalent to your TAP1)
APPN - 02.03.02.00.00.01 (not currently inuse)
Subarea - 02.03.03.00.00.01 (my TAP0503, your TAP0)

Looking at 192.168.59.10's local ARP table, I see that the MAC address from tap1 is visible after S TCPIP but is purged after a while:

# arp -an |fgrep 192.168.59.89
? (192.168.59.89) at 02:00:fe:df:01:43 [ether] on ens160
Looking at my host's arp table, I see my guest (OS/390).
jeff@Pi2:~ $ arp -an | fgrep 105
? (192.168.1.105) at 02:05:01:00:00:01 [ether] on br0

# arp -an |fgrep 192.168.59.89
? (192.168.59.89) at <incomplete> on ens160
Checking back a few minutes later shows it still acitve, so it didn't go away like yours did.
jeff@Pi2:~ $ arp -an | fgrep 105
? (192.168.1.105) at 02:05:01:00:00:01 [ether] on br0

Looking at the local ARP cache of OS/390 via OMVS netstat -R ALL command shows that it only knows about its own MAC address and nothing else:

MVS TCP/IP onetstat CS V2R10 TCPIP Name: TCPIP
Querying ARP cache for address 192.168.59.89
Link: TAP1 ETHERNET: 0200FEDF0143
Not so, here...
JEFF:/u/jeff: >onetstat -R ALL
MVS TCP/IP onetstat CS V2R10?????? TCPIP Name: TCPIP??????????? 16:44:32
Querying ARP cache for address 192.168.1.101 (JS01, the VM/ESA image)
Link: EN0?????????????? ETHERNET: 020101000001

Querying ARP cache for address 192.168.1.32 (my Windows workstation, where I telneted from)
Link: EN0?????????????? ETHERNET: 6805CA3AB46C

Querying ARP cache for address 192.168.1.105 (JS05, OS/390, self)
Link: EN0?????????????? ETHERNET: 020501000001

Querying ARP cache for address 192.168.1.254 (my default gateway and DNS server)
Link: EN0?????????????? ETHERNET: DC7FA4213C55

Questions:
- How can I set a static arp entry in OS390 V2R10 ADCD?
Sorry, I don't know.

- Is my GATEWAY configuration correct (sans assuming a /24 network instead of a /25)?
It looks right to me, but I've had issues with GATEWAY and moved on the BEGIN/ENDROUTE, so I may be missing something.

- Has anybody successfully established TCP/IP-Networking in a bridged environment as described above?
Yes.? All 4 of my Pis are configured this way.? A lot of my images don't support TCP (or some even, SNA), but those that do run like this.


Good luck, I hope you find your issue.? If that configuration issue in TCPIP's LINK statement doesn't fix it and you'd like me to run some traces, let me know.
Jeff


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

1.? Practice with a test catalog.
2.? Repro vsam files to PS datasets
3. Repro to PS file then export catalog.?
3A? Import should work,?
3B? If import fails you can delete define repro the catalog.
3C? If reloading the catalog fails,define a replacement catalog, catalog the non vsam files, define and repro the vsam files from the PS files.

On Tue, Jan 30, 2024 at 12:41?PM Mike Schwab via <Mike.A.Schwab=[email protected]> wrote:
?
Used this about 2014.

On Tue, Jan 30, 2024 at 9:27?AM Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> wrote:
A quick search on 'mvs ci split reorg' threw yet more light on the matter.

At the end, I think that I can conclude that reorg, in the MVS/Tk5 context (not in more modern z/OS), means backing up the catalog contents, re-create the catalog back from scratch, and then dump the backup contents back in.
So I do end at the same place, although for another reason (not for lack of actual space due to excess of contents, but for lack of useable space due to degradation of data structure by sheer usage).

OK... So I have to work on some JCL that achieve that, since my User Catalogs days are, and will always be, numbered without periodic 'reorg'.

Cheers.



--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?



--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

?
Used this about 2014.


On Tue, Jan 30, 2024 at 9:27?AM Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> wrote:
A quick search on 'mvs ci split reorg' threw yet more light on the matter.

At the end, I think that I can conclude that reorg, in the MVS/Tk5 context (not in more modern z/OS), means backing up the catalog contents, re-create the catalog back from scratch, and then dump the backup contents back in.
So I do end at the same place, although for another reason (not for lack of actual space due to excess of contents, but for lack of useable space due to degradation of data structure by sheer usage).

OK... So I have to work on some JCL that achieve that, since my User Catalogs days are, and will always be, numbered without periodic 'reorg'.

Cheers.



--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

¿ªÔÆÌåÓý

Just wanted to add my 2cents that in the pre-SMS days one could leave a dataset uncatalogued and just address it by dsname, unit and volser. I even remember primitive version management practices based on that possibility.

best regards,

¸é±ð²Ô¨¦.

On 30 Jan 2024, at 11:27, Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> wrote:

A quick search on 'mvs ci split reorg' threw yet more light on the matter.

At the end, I think that I can conclude that reorg, in the MVS/Tk5 context (not in more modern z/OS), means backing up the catalog contents, re-create the catalog back from scratch, and then dump the backup contents back in.
So I do end at the same place, although for another reason (not for lack of actual space due to excess of contents, but for lack of useable space due to degradation of data structure by sheer usage).

OK... So I have to work on some JCL that achieve that, since my User Catalogs days are, and will always be, numbered without periodic 'reorg'.

Cheers.


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

A quick search on 'mvs ci split reorg' threw yet more light on the matter.

At the end, I think that I can conclude that reorg, in the MVS/Tk5 context (not in more modern z/OS), means backing up the catalog contents, re-create the catalog back from scratch, and then dump the backup contents back in.
So I do end at the same place, although for another reason (not for lack of actual space due to excess of contents, but for lack of useable space due to degradation of data structure by sheer usage).

OK... So I have to work on some JCL that achieve that, since my User Catalogs days are, and will always be, numbered without periodic 'reorg'.

Cheers.


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

With a few more CAs, you might get a range isolated within a CA, and the empty CIs within the CA can be reused.? Our production catalogs were not that lucky and had to be reorged when the extents got high.


On Tue, Jan 30, 2024 at 7:14?AM Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> wrote:
Awesome piece of info!

I have to look a t it closer, but wow I feel all is going to start making sense... I felt there was something amiss from the very beginning in adition to my user catalog being poorly defined.

One thing I notice is that, regardless of sizing of the VSAM cluster devoted to the catalog, if CIs are not being reused due to naming, with time, I will run out of space anyways... very very interesting!

Thank you very much!



--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Awesome piece of info!

I have to look a t it closer, but wow I feel all is going to start making sense... I felt there was something amiss from the very beginning in adition to my user catalog being poorly defined.

One thing I notice is that, regardless of sizing of the VSAM cluster devoted to the catalog, if CIs are not being reused due to naming, with time, I will run out of space anyways... very very interesting!

Thank you very much!


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

?
Shows problem without CA reclaim.


On Tue, Jan 30, 2024 at 6:10?AM Mike Schwab via <Mike.A.Schwab=[email protected]> wrote:
You are creating datasets in ascending sequence.? This causes CI splits.? Then you delete the older entry, and the CI CANNOT be reused.? Temporary solution(s) is more space or reorg the catalog.? Permanent solution is random order name assignment or z/OS 1.12 Control Area Reclaim.

On Tue, Jan 30, 2024 at 5:26?AM Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> wrote:
Sure! ... why not just share the whole user-catalog and share it?
Now my catalog is waaaaay smaller than has been in the past.

Anyhow, I think I follow your logic and I though the same... however, there're qualifiers (WEBSITES) with far more entries 'bellow' it.

NONVSAM ------- ALEX.CMDPROC
NONVSAM ------- ALEX.COBOL.CNTL
NONVSAM ------- ALEX.COBOL.COPY
NONVSAM ------- ALEX.COBOL.LOAD
NONVSAM ------- ALEX.COBOL.SOURCE
NONVSAM ------- ALEX.DOCUMENT.MISC
NONVSAM ------- ALEX.EXEC
NONVSAM ------- ALEX.FAIL2BAN.DA240123.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240124.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240125.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240126.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240127.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240128.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240129.IPBANLOG
NONVSAM ------- ALEX.FOO.DA240130.LOGSRPRT? ? ? ? ? <-- I just deleted FOO1 and FOO2, but kept FOO
NONVSAM ------- ALEX.ICECAST2.DA240123.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240124.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240125.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240126.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240127.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240128.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240129.W3CLOG
NONVSAM ------- ALEX.IDSIPS.NT240123.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240124.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240125.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240126.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240127.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240128.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240129.IPBLKLOG
NONVSAM ------- ALEX.ISP.PLIB
NONVSAM ------- ALEX.ISP.PROF
NONVSAM ------- ALEX.LOGIT.D23268.T144931
NONVSAM ------- ALEX.PROD.CMDPROC
NONVSAM ------- ALEX.PROD.CNTL
NONVSAM ------- ALEX.PROD.PROCLIB
NONVSAM ------- ALEX.REVEDIT1.BACKUP
NONVSAM ------- ALEX.TEST.ASM
NONVSAM ------- ALEX.TEST.CMDPROC
NONVSAM ------- ALEX.TEST.CNTL
NONVSAM ------- ALEX.TEST.LOADLIB
NONVSAM ------- ALEX.TEST.PROCLIB
NONVSAM ------- ALEX.TGNRADIO.DA240125.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240125.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240126.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240126.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240127.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240127.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240128.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240128.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240129.PLAYRPRT? ? ? ? <-- DA240129.LOGSRPRT is missing
NONVSAM ------- ALEX.TUTORIAL.COB
NONVSAM ------- ALEX.WEBSITES.BL240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240129.ACESSLOG
CLUSTER ------- UCUSRDT0
?DATA ------- VSAM.CATALOG.BASE.DATA.RECORD
?INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD
VOLUME -------- USRDT0
?
?
LISTING FROM CATALOG -- UCUSRDT0
?THE NUMBER OF ENTRIES PROCESSED WAS:
?AIX -------------------0
?ALIAS -----------------0
?CLUSTER ---------------1
?DATA ------------------1
?GDG -------------------0
?INDEX -----------------1
?NONVSAM --------------75
?PAGESPACE -------------0
?PATH ------------------0
?SPACE -----------------1
?USERCATALOG -----------0
?TOTAL ----------------79
?THE NUMBER OF PROTECTED ENTRIES SUPPRESSED WAS 0
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0




--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?



--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

You are creating datasets in ascending sequence.? This causes CI splits.? Then you delete the older entry, and the CI CANNOT be reused.? Temporary solution(s) is more space or reorg the catalog.? Permanent solution is random order name assignment or z/OS 1.12 Control Area Reclaim.


On Tue, Jan 30, 2024 at 5:26?AM Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> wrote:
Sure! ... why not just share the whole user-catalog and share it?
Now my catalog is waaaaay smaller than has been in the past.

Anyhow, I think I follow your logic and I though the same... however, there're qualifiers (WEBSITES) with far more entries 'bellow' it.

NONVSAM ------- ALEX.CMDPROC
NONVSAM ------- ALEX.COBOL.CNTL
NONVSAM ------- ALEX.COBOL.COPY
NONVSAM ------- ALEX.COBOL.LOAD
NONVSAM ------- ALEX.COBOL.SOURCE
NONVSAM ------- ALEX.DOCUMENT.MISC
NONVSAM ------- ALEX.EXEC
NONVSAM ------- ALEX.FAIL2BAN.DA240123.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240124.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240125.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240126.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240127.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240128.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240129.IPBANLOG
NONVSAM ------- ALEX.FOO.DA240130.LOGSRPRT? ? ? ? ? <-- I just deleted FOO1 and FOO2, but kept FOO
NONVSAM ------- ALEX.ICECAST2.DA240123.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240124.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240125.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240126.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240127.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240128.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240129.W3CLOG
NONVSAM ------- ALEX.IDSIPS.NT240123.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240124.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240125.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240126.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240127.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240128.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240129.IPBLKLOG
NONVSAM ------- ALEX.ISP.PLIB
NONVSAM ------- ALEX.ISP.PROF
NONVSAM ------- ALEX.LOGIT.D23268.T144931
NONVSAM ------- ALEX.PROD.CMDPROC
NONVSAM ------- ALEX.PROD.CNTL
NONVSAM ------- ALEX.PROD.PROCLIB
NONVSAM ------- ALEX.REVEDIT1.BACKUP
NONVSAM ------- ALEX.TEST.ASM
NONVSAM ------- ALEX.TEST.CMDPROC
NONVSAM ------- ALEX.TEST.CNTL
NONVSAM ------- ALEX.TEST.LOADLIB
NONVSAM ------- ALEX.TEST.PROCLIB
NONVSAM ------- ALEX.TGNRADIO.DA240125.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240125.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240126.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240126.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240127.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240127.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240128.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240128.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240129.PLAYRPRT? ? ? ? <-- DA240129.LOGSRPRT is missing
NONVSAM ------- ALEX.TUTORIAL.COB
NONVSAM ------- ALEX.WEBSITES.BL240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240129.ACESSLOG
CLUSTER ------- UCUSRDT0
?DATA ------- VSAM.CATALOG.BASE.DATA.RECORD
?INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD
VOLUME -------- USRDT0
?
?
LISTING FROM CATALOG -- UCUSRDT0
?THE NUMBER OF ENTRIES PROCESSED WAS:
?AIX -------------------0
?ALIAS -----------------0
?CLUSTER ---------------1
?DATA ------------------1
?GDG -------------------0
?INDEX -----------------1
?NONVSAM --------------75
?PAGESPACE -------------0
?PATH ------------------0
?SPACE -----------------1
?USERCATALOG -----------0
?TOTAL ----------------79
?THE NUMBER OF PROTECTED ENTRIES SUPPRESSED WAS 0
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0




--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Sure! ... why not just share the whole user-catalog and share it?
Now my catalog is waaaaay smaller than has been in the past.

Anyhow, I think I follow your logic and I though the same... however, there're qualifiers (WEBSITES) with far more entries 'bellow' it.

NONVSAM ------- ALEX.CMDPROC
NONVSAM ------- ALEX.COBOL.CNTL
NONVSAM ------- ALEX.COBOL.COPY
NONVSAM ------- ALEX.COBOL.LOAD
NONVSAM ------- ALEX.COBOL.SOURCE
NONVSAM ------- ALEX.DOCUMENT.MISC
NONVSAM ------- ALEX.EXEC
NONVSAM ------- ALEX.FAIL2BAN.DA240123.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240124.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240125.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240126.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240127.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240128.IPBANLOG
NONVSAM ------- ALEX.FAIL2BAN.DA240129.IPBANLOG
NONVSAM ------- ALEX.FOO.DA240130.LOGSRPRT? ? ? ? ? <-- I just deleted FOO1 and FOO2, but kept FOO
NONVSAM ------- ALEX.ICECAST2.DA240123.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240124.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240125.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240126.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240127.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240128.W3CLOG
NONVSAM ------- ALEX.ICECAST2.DA240129.W3CLOG
NONVSAM ------- ALEX.IDSIPS.NT240123.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240124.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240125.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240126.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240127.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240128.IPBLKLOG
NONVSAM ------- ALEX.IDSIPS.NT240129.IPBLKLOG
NONVSAM ------- ALEX.ISP.PLIB
NONVSAM ------- ALEX.ISP.PROF
NONVSAM ------- ALEX.LOGIT.D23268.T144931
NONVSAM ------- ALEX.PROD.CMDPROC
NONVSAM ------- ALEX.PROD.CNTL
NONVSAM ------- ALEX.PROD.PROCLIB
NONVSAM ------- ALEX.REVEDIT1.BACKUP
NONVSAM ------- ALEX.TEST.ASM
NONVSAM ------- ALEX.TEST.CMDPROC
NONVSAM ------- ALEX.TEST.CNTL
NONVSAM ------- ALEX.TEST.LOADLIB
NONVSAM ------- ALEX.TEST.PROCLIB
NONVSAM ------- ALEX.TGNRADIO.DA240125.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240125.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240126.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240126.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240127.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240127.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240128.LOGSRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240128.PLAYRPRT
NONVSAM ------- ALEX.TGNRADIO.DA240129.PLAYRPRT? ? ? ? <-- DA240129.LOGSRPRT is missing
NONVSAM ------- ALEX.TUTORIAL.COB
NONVSAM ------- ALEX.WEBSITES.BL240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.BL240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.LA240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.PO240129.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240124.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240125.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240126.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240127.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240128.ACESSLOG
NONVSAM ------- ALEX.WEBSITES.RE240129.ACESSLOG
CLUSTER ------- UCUSRDT0
?DATA ------- VSAM.CATALOG.BASE.DATA.RECORD
?INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD
VOLUME -------- USRDT0
?
?
LISTING FROM CATALOG -- UCUSRDT0
?THE NUMBER OF ENTRIES PROCESSED WAS:
?AIX -------------------0
?ALIAS -----------------0
?CLUSTER ---------------1
?DATA ------------------1
?GDG -------------------0
?INDEX -----------------1
?NONVSAM --------------75
?PAGESPACE -------------0
?PATH ------------------0
?SPACE -----------------1
?USERCATALOG -----------0
?TOTAL ----------------79
?THE NUMBER OF PROTECTED ENTRIES SUPPRESSED WAS 0
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0



Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Hi Alejandro,

Just curius, how many files have you starting with ALEX.TGNRADIO ?

¸é±ð²Ô¨¦


Le mardi 30 janvier 2024 ¨¤ 11:15:58 UTC+1, Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> a ¨¦crit :


Hi all guys.

I come back on this thread becaus, well, as the subject says, today I've found that a job fails due to NOT CATLGD 4 error for a given qualifier.
Today I've found one of my jobs has failed... clearly, my catalog holds now far less entries than has held in the past, so I'm reluctant to think it has too much entries, but rather something more complex happens there.
Anyways, I re-ran it manually, with exact same result, and then, I simply replaced the higher level qualifier (under username) and the job ran perfect, with the PDS showing in DSLIST (I have to take the time to do CLIST on the User Catalog, but I don't expect finding discrepancies)

Outputs...

For the last failing one (the one I re-ran manually, the output is the same, timestamps are different):

- 'JES part' output (top on printout):
?
10.26.20 JOB 259 $HASP373 RDLOGE58 STARTED - INIT 1 - CLASS A - SYS TK5R
10.26.20 JOB 259 IEF403I RDLOGE58 - STARTED - TIME=10.26.20
10.26.20 JOB 259 IEFACTRT - STEPNAME PROCSTEP PROGRAM RETCODE
10.26.20 JOB 259 RDLOGE58 DELPDS IEFBR14 RC= 0000
10.26.21 JOB 259 IEC070I 104-203,INIT,,SYS00106,180,USRDT0,UCUSRDT0,,UCUSRDT0
10.26.21 JOB 259 IEC331I 020-000,INIT ,RDLOGE58,RCU ,IGG0CLAG
10.26.21 JOB 259 RDLOGE58 SPAWNPDS IEFBR14 RC= 0000
10.26.21 JOB 259 RDLOGE58 MUSICLOG IEBGENER *FLUSH*
10.26.21 JOB 259 IEF453I RDLOGE58 - JOB FAILED - JCL ERROR - TIME=10.26.21
10.26.21 JOB 259 $HASP395 RDLOGE58 ENDED
?
- Failing Step output.
DSN is:? ALEX.TGNRADIO.DA240130.LOGSRPRT
?
IEF236I ALLOC. FOR RDLOGE58 SPAWNPDS
IEF237I 180 ALLOCATED TO NEWPDS
IEF237I 180 ALLOCATED TO SYS00106
IEC070I 104-203,INIT,,SYS00106,180,USRDT0,UCUSRDT0,,UCUSRDT0
IEC331I 020-000,INIT ,RDLOGE58,RCU ,IGG0CLAG
IEF142I RDLOGE58 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF287I ALEX.TGNRADIO.DA240130.LOGSRPRT NOT CATLGD 4 *--------0
IEF287I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1026
IEF374I STEP /SPAWNPDS/ STOP 24030.1026 CPU 0MIN 00.01SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE58 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 10.26.20 TO 10.26.21 *
* ELAPSED TIME 00:00:00,52 CPU-IDENTIFIER: TK5R PAGE-IN: 0 *
* CPU TIME 00:00:00,01 VIRTUAL STORAGE USED: 4K PAGE-OUT: 0 *
* CORR. CPU: 00:00:00,01 CPU TIME HAS BEEN CORRECTED BY 1 / 1,0 MULTIPLIER *
* *
* I/O OPERATION *
* NUMBER OF RECORDS READ VIA DD * OR DD DATA: 0 *
* 180.......0 180.......0 *
* *
* CHARGE FOR STEP (W/O SYSOUT): 0,01 *
**
?

While for the successfull one:

- JES output
?
10.30.27 JOB 260 $HASP373 RDLOGE04 STARTED - INIT 1 - CLASS A - SYS TK5R
10.30.27 JOB 260 IEF403I RDLOGE04 - STARTED - TIME=10.30.27
10.30.27 JOB 260 IEFACTRT - STEPNAME PROCSTEP PROGRAM RETCODE
10.30.27 JOB 260 RDLOGE04 DELPDS IEFBR14 RC= 0000
10.30.28 JOB 260 RDLOGE04 SPAWNPDS IEFBR14 RC= 0000
10.30.29 JOB 260 RDLOGE04 MUSICLOG IEBGENER RC= 0000
10.30.29 JOB 260 RDLOGE04 MUSICXCP IEBGENER RC= 0000
10.30.30 JOB 260 RDLOGE04 TRAFFLOG IEBGENER RC= 0000
10.30.31 JOB 260 RDLOGE04 TRAFFXCP IEBGENER RC= 0000
10.30.32 JOB 260 RDLOGE04 CMNTSTOR IEBGENER RC= 0000
10.30.33 JOB 260 RDLOGE04 DATAPRNT IEBGENER RC= 0000
10.30.33 JOB 260 IEF404I RDLOGE04 - ENDED - TIME=10.30.33
10.30.33 JOB 260 $HASP395 RDLOGE04 ENDED
?
?
- Now working Step.
Notice DSN is now:? ALEX.FOO.DA240130.LOGSRPRT
?
IEF236I ALLOC. FOR RDLOGE04 SPAWNPDS
IEF237I 180 ALLOCATED TO NEWPDS
IEF237I 180 ALLOCATED TO SYS00110
IEF142I RDLOGE04 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF285I ALEX.FOO.DA240130.LOGSRPRT CATALOGED *--------0
IEF285I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1030
IEF374I STEP /SPAWNPDS/ STOP 24030.1030 CPU 0MIN 00.04SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE04 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 10.30.28 TO 10.30.28 *
* ELAPSED TIME 00:00:00,40 CPU-IDENTIFIER: TK5R PAGE-IN: 0 *
* CPU TIME 00:00:00,04 VIRTUAL STORAGE USED: 4K PAGE-OUT: 0 *
* CORR. CPU: 00:00:00,04 CPU TIME HAS BEEN CORRECTED BY 1 / 1,0 MULTIPLIER *
* *
* I/O OPERATION *
* NUMBER OF RECORDS READ VIA DD * OR DD DATA: 0 *
* 180.......0 180.......0 *
* *
* CHARGE FOR STEP (W/O SYSOUT): 0,06 *
**

I know any previous logic coming from non-Mainframe world may not be applicable within it... but still, it is hard to assume that my user catalog is full.
So, maybe I miss something... lets try FOO1 and FOO2, lets keep adding stuff to the catalog:

IEF142I RDLOGE35 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF285I ALEX.FOO1.DA240130.LOGSRPRT CATALOGED *--------0
IEF285I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1103
IEF374I STEP /SPAWNPDS/ STOP 24030.1103 CPU 0MIN 00.09SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE35 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 11.03.56 TO 11.03.56 *


IEF285I ALEX.FOO2.DA240130.LOGSRPRT CATALOGED *--------0
IEF285I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1105
IEF374I STEP /SPAWNPDS/ STOP 24030.1105 CPU 0MIN 00.03SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE04 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 11.05.26 TO 11.05.27 *


OK... back to 'production' qualifier... it should work, why in the world it would not?

IEC070I 104-203,INIT,,SYS00152,180,USRDT0,UCUSRDT0,,UCUSRDT0
IEC331I 020-000,INIT ,RDLOGE27,RCU ,IGG0CLAG
IEF142I RDLOGE27 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF287I ALEX.TGNRADIO.DA240130.LOGSRPRT NOT CATLGD 4 *--------0
IEF287I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1111
IEF374I STEP /SPAWNPDS/ STOP 24030.1111 CPU 0MIN 00.08SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE04 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 11.05.26 TO 11.05.27 *

But it doesn't.... Catalog Poltergheist :-P

Cheers!


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Hi all guys.

I come back on this thread becaus, well, as the subject says, today I've found that a job fails due to NOT CATLGD 4 error for a given qualifier.
Today I've found one of my jobs has failed... clearly, my catalog holds now far less entries than has held in the past, so I'm reluctant to think it has too much entries, but rather something more complex happens there.
Anyways, I re-ran it manually, with exact same result, and then, I simply replaced the higher level qualifier (under username) and the job ran perfect, with the PDS showing in DSLIST (I have to take the time to do CLIST on the User Catalog, but I don't expect finding discrepancies)

Outputs...

For the last failing one (the one I re-ran manually, the output is the same, timestamps are different):

- 'JES part' output (top on printout):
?
10.26.20 JOB 259 $HASP373 RDLOGE58 STARTED - INIT 1 - CLASS A - SYS TK5R
10.26.20 JOB 259 IEF403I RDLOGE58 - STARTED - TIME=10.26.20
10.26.20 JOB 259 IEFACTRT - STEPNAME PROCSTEP PROGRAM RETCODE
10.26.20 JOB 259 RDLOGE58 DELPDS IEFBR14 RC= 0000
10.26.21 JOB 259 IEC070I 104-203,INIT,,SYS00106,180,USRDT0,UCUSRDT0,,UCUSRDT0
10.26.21 JOB 259 IEC331I 020-000,INIT ,RDLOGE58,RCU ,IGG0CLAG
10.26.21 JOB 259 RDLOGE58 SPAWNPDS IEFBR14 RC= 0000
10.26.21 JOB 259 RDLOGE58 MUSICLOG IEBGENER *FLUSH*
10.26.21 JOB 259 IEF453I RDLOGE58 - JOB FAILED - JCL ERROR - TIME=10.26.21
10.26.21 JOB 259 $HASP395 RDLOGE58 ENDED
?
- Failing Step output.
DSN is:? ALEX.TGNRADIO.DA240130.LOGSRPRT
?
IEF236I ALLOC. FOR RDLOGE58 SPAWNPDS
IEF237I 180 ALLOCATED TO NEWPDS
IEF237I 180 ALLOCATED TO SYS00106
IEC070I 104-203,INIT,,SYS00106,180,USRDT0,UCUSRDT0,,UCUSRDT0
IEC331I 020-000,INIT ,RDLOGE58,RCU ,IGG0CLAG
IEF142I RDLOGE58 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF287I ALEX.TGNRADIO.DA240130.LOGSRPRT NOT CATLGD 4 *--------0
IEF287I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1026
IEF374I STEP /SPAWNPDS/ STOP 24030.1026 CPU 0MIN 00.01SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE58 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 10.26.20 TO 10.26.21 *
* ELAPSED TIME 00:00:00,52 CPU-IDENTIFIER: TK5R PAGE-IN: 0 *
* CPU TIME 00:00:00,01 VIRTUAL STORAGE USED: 4K PAGE-OUT: 0 *
* CORR. CPU: 00:00:00,01 CPU TIME HAS BEEN CORRECTED BY 1 / 1,0 MULTIPLIER *
* *
* I/O OPERATION *
* NUMBER OF RECORDS READ VIA DD * OR DD DATA: 0 *
* 180.......0 180.......0 *
* *
* CHARGE FOR STEP (W/O SYSOUT): 0,01 *
**
?

While for the successfull one:

- JES output
?
10.30.27 JOB 260 $HASP373 RDLOGE04 STARTED - INIT 1 - CLASS A - SYS TK5R
10.30.27 JOB 260 IEF403I RDLOGE04 - STARTED - TIME=10.30.27
10.30.27 JOB 260 IEFACTRT - STEPNAME PROCSTEP PROGRAM RETCODE
10.30.27 JOB 260 RDLOGE04 DELPDS IEFBR14 RC= 0000
10.30.28 JOB 260 RDLOGE04 SPAWNPDS IEFBR14 RC= 0000
10.30.29 JOB 260 RDLOGE04 MUSICLOG IEBGENER RC= 0000
10.30.29 JOB 260 RDLOGE04 MUSICXCP IEBGENER RC= 0000
10.30.30 JOB 260 RDLOGE04 TRAFFLOG IEBGENER RC= 0000
10.30.31 JOB 260 RDLOGE04 TRAFFXCP IEBGENER RC= 0000
10.30.32 JOB 260 RDLOGE04 CMNTSTOR IEBGENER RC= 0000
10.30.33 JOB 260 RDLOGE04 DATAPRNT IEBGENER RC= 0000
10.30.33 JOB 260 IEF404I RDLOGE04 - ENDED - TIME=10.30.33
10.30.33 JOB 260 $HASP395 RDLOGE04 ENDED
?
?
- Now working Step.
Notice DSN is now:? ALEX.FOO.DA240130.LOGSRPRT
?
IEF236I ALLOC. FOR RDLOGE04 SPAWNPDS
IEF237I 180 ALLOCATED TO NEWPDS
IEF237I 180 ALLOCATED TO SYS00110
IEF142I RDLOGE04 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF285I ALEX.FOO.DA240130.LOGSRPRT CATALOGED *--------0
IEF285I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1030
IEF374I STEP /SPAWNPDS/ STOP 24030.1030 CPU 0MIN 00.04SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE04 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 10.30.28 TO 10.30.28 *
* ELAPSED TIME 00:00:00,40 CPU-IDENTIFIER: TK5R PAGE-IN: 0 *
* CPU TIME 00:00:00,04 VIRTUAL STORAGE USED: 4K PAGE-OUT: 0 *
* CORR. CPU: 00:00:00,04 CPU TIME HAS BEEN CORRECTED BY 1 / 1,0 MULTIPLIER *
* *
* I/O OPERATION *
* NUMBER OF RECORDS READ VIA DD * OR DD DATA: 0 *
* 180.......0 180.......0 *
* *
* CHARGE FOR STEP (W/O SYSOUT): 0,06 *
**

I know any previous logic coming from non-Mainframe world may not be applicable within it... but still, it is hard to assume that my user catalog is full.
So, maybe I miss something... lets try FOO1 and FOO2, lets keep adding stuff to the catalog:

IEF142I RDLOGE35 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF285I ALEX.FOO1.DA240130.LOGSRPRT CATALOGED *--------0
IEF285I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1103
IEF374I STEP /SPAWNPDS/ STOP 24030.1103 CPU 0MIN 00.09SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE35 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 11.03.56 TO 11.03.56 *


IEF285I ALEX.FOO2.DA240130.LOGSRPRT CATALOGED *--------0
IEF285I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1105
IEF374I STEP /SPAWNPDS/ STOP 24030.1105 CPU 0MIN 00.03SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE04 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 11.05.26 TO 11.05.27 *


OK... back to 'production' qualifier... it should work, why in the world it would not?

IEC070I 104-203,INIT,,SYS00152,180,USRDT0,UCUSRDT0,,UCUSRDT0
IEC331I 020-000,INIT ,RDLOGE27,RCU ,IGG0CLAG
IEF142I RDLOGE27 SPAWNPDS - STEP WAS EXECUTED - COND CODE 0000
IEF287I ALEX.TGNRADIO.DA240130.LOGSRPRT NOT CATLGD 4 *--------0
IEF287I VOL SER NOS= USRDT0.
IEF285I UCUSRDT0 KEPT *--------0
IEF285I VOL SER NOS= USRDT0.
IEF373I STEP /SPAWNPDS/ START 24030.1111
IEF374I STEP /SPAWNPDS/ STOP 24030.1111 CPU 0MIN 00.08SEC SRB 0MIN 00.00SEC VIRT 4K SYS 192K
**
* 2. JOBSTEP OF JOB: RDLOGE04 STEPNAME: SPAWNPDS PROGRAM NAME: IEFBR14 EXECUTED ON 30.01.24 FROM 11.05.26 TO 11.05.27 *

But it doesn't.... Catalog Poltergheist :-P

Cheers!


Re: Trying to migrate TUN networking connection to TAP

 

Hello PoC,
I had the same problem just recently try changing this?
LINK TAP1 ETHERNET 1 LCS1
to this?
LINK TAP1 ETHERNET 0 LCS1
that's what fixed my system.
hope this helps!

Regards,
Vincent


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Hi Alejandro,
A useful tutorial is available at
and it includes backup and restore of a catalog in it's examples.

There is another Hercules example document on backup and restores by the same author here :

Best regards,
Tom.


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Hi all guys!

First and foremost, thank you for your effort to help.
I apreciate those points to VSAM documentation and resources to investigate (definitely quite a journey there).
In this regard, would point that, I found at bitsaver a book:??that look promising, since reminds me to red book 'Demistifying VSAM' contents, but maybe, since it is way older, it is more suitable for 'what I have at hand' (tk5)

I have learn quite a lot of stuff here (and realize how much is there to learn if one dares to!)

Now but, I think my best move would be to take take the opportunity to learn quite a bit by challenging myself to try to figure out how to assemble a job that backups my current user-catalog, replaces it by a better designed one, and then populates it with the backup contents... Quite a few steps for a begginer, with a lot to practice... handling temporary datasets, going safe by hanndling eventual step abends or bad exit codes, the actual IDECAMS steps to do the differents tasks ,etc...quite a journey! ... but that's for another thread :-)

Again. thank you all for your time!
Cheers.


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Jeff,

No INDEX are there :
EXTENTS:
LOW-CCHH-----X'00050006'
HIGH-CCHH----X'00050008'

¸é±ð²Ô¨¦


Le samedi 27 janvier 2024 ¨¤ 19:10:55 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :


Rene,

I believe that what you are referencing is the output showing both the DATA portion and the INDEX portion

If not, then I can not explain it ¨C

The PDF in from the class ¨C explains the different allocations ¨C and the internal record types and why they are the way they are ¨C

?

You indicate you do not see this on your system - - so ¨C I accept that it is entirely possible that I am missing something

?

?

?

?

DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

? ? ? ?

?

THIS IS THE INDEX PORTION

?

?

INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA------119808

? ? ?SPACE-PRI--------------3 HI-USED-RBA-------118784

? ? ?SPACE-SEC--------------3

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA-------95232 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA---------1024 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------1

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050006' LOW-RBA----------------0 TRACKS-----------------3

? ? ? ?HIGH-CCHH----X'00050008' HIGH-RBA-----------95231

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA--------96256 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA----------117759

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA-------118784 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA----------119807



?

Regards

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOT deducted from one¡¯s lifespan

?

From: [email protected] <[email protected]>On Behalf Of Rene BRANDT via groups.io
Sent: Saturday, January 27, 2024 12:37 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

No it's not that. Alejandro give us the LISTCAT with 2 times the same extents LOW-CCHH-----X'00050009' HIGH-CCHH----X'0005000E
one time with RECSZ 512 and the other with 1024.
In the LISTCAT of my catalog i don't have 2 times the same extents. So why have we that there ?

¸é±ð²Ô¨¦

Le samedi 27 janvier 2024 ¨¤ 18:05:40 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene,

I am having trouble following what you are asking

May I suggest ¨C

Just GOOGLE ¨C VSAM Beginners guide

You will find MULTIPLE places to get the basics ¨C

CLUSTER, CA, CI, INDEX ¨C RBA ¨C all terms that are explained WAY better than I can

There are of course, YOU-TUBE videos if you like that format

?

Now, with this all said ¨C CATALOGS are VSAM data sets ¨C however, due to the nature ¨C there ARE a few items that are unique to catalog structures.

?

The Course Notes PDF ¨C explains this ¡°unique structure¡± very nicely ¨C I encourage you to read it ¨C the explanation provided is better than I can offer

?

Further, see Mark Waterbury post in this thread ¨C that references older manuals and IBM course ¨C and has more than you EVER wanted to know about VSAM ¨C

?

Here are the links again

Mark said

See:
? ? ??

Notice the "Primer" and the "VSAM Systems Programming" course materials:

? ? ??
and
? ? ??

The "course notes" are very detailed and the instructor described a number of "real world" scenarios, with caveats, work-arounds, and general good advice.

Enjoy

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Friday, January 26, 2024 7:27 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

In the lines given by Alejandro it is 2 times the same extents on the first RECSZ 512 and on the other RECSZ 1024, so ???
The extents for index are between the 2 extents of DATA

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 16:13:27 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene, Alejandro

?

While you are BOTH asking relevant questions ¨C frankly ¨C other than a basic understanding ¨C you are IMHO getting down too deep into the weeds

?

There are VOLUMES of documentation on how VSAM and catalogs work ¨C (in the OLD days ¨C we used to have to occasionally dump and ZAP to fix )

I have forgotton so much of my training over the years ¨C

?

There are entire careers been made on CATALOGS and CATALOG structures ¨C and management of same ¨C it is complicated ¨C

There are multiple products that are designed and built to assist with management and maintenance of catalogs - - these products have proven their worth over the years ¨C particularly in larger shops ¨C where there are EXTREME numbers of data sets and LARGER numbers equate to many additional levels and pieces to manage.?

?

?

There are RED books and basic manuals (of course the RED books try to EXPLAIN the basic manuals are simply documentation)

So ¨C for in depth explanations ¨C the Red books are better source ¨C ?(IMHO)

?

If I remember correctly ¨C there is a section in the ABCs of System programming Volume 3 ¨C on Catalogs ?- see this header

¡¤????????
Volume 3: Introduction to DFSMS, data set basics, storage management, hardware and software, catalogs, and DFSMStvs

?

Rene

?

There are TWO different pieces ¨C

The DATA portion and the INDEX

The DATA portion ¨C there are 512 records per track

In the INDEX portion there are 1024 records per track -?

?

Alejandro,

IDCAMS is the tool to manage catalogs

YouMAY BE ABLE ¨C in fact ¨C as was pointed out ¨C to ALTER the existing catalog ¨C or maybe not ¨C

OR ?you EXPORT ¨C by unloading all the data ¨C then re-load ¨C to re-organize the catalog

?

As you have now learned ¨C when you initially allocated the catalog ¨C you specifically specified 10? cyl - - without any secondary allocation ¨C ?this means when it gets full ¨C it can NOT expand - - so ¨C I would suggest ¨C a next step ¨C would be REORG ¨C (unload ¨C build a new larger catalog with the additional values ¨C (including secondary extents) then re-load ¨C the catalog -???

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Friday, January 26, 2024 4:46 AM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

Why is it PHYSICAL RECSZ 512 on the first and 1024 on the second one ?

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 01:07:28 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene,

I think your cut and paste got the same data twice¡­

?

If you look at the original LISTCAT ¨C

?

The DATA portion consists of TWO internal allocations ¨C total of 72 tracks

One VOLUME is 66 tracks followed by another of 6 tracks ¨C

?

DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION???

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392????????????????????? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< TOTAL TRACKS

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F??? <<<<<<<<<<<<<<<<<<<<<<<<END RBA -

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66???????????????????????? <<<<<< this is 66 tracks

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40??? <<<<<<<<<<<<<<<<<<<<<<<<<<NEXT BEGIN RBA

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6?????????????????????????? <<<<<<<<<<this is 6 tracks

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

?

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????TOTAL OF 72 TRACKS for the DATA PORTION

The ORIGINAL allocation was 5CYL - - or 80 TRACKS ¨C (remember 3380 is 15 tracks per cyl)

Then there is the index¡­.. as well ¨C it all comes together -

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Thursday, January 25, 2024 6:44 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi,

I found something strange perhaps someone could explain me :
Why we see 2 times the sale allocation with different recsize ?


VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA---------1036287
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495
and
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA----------117759
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA----------119807

Le jeudi 25 janvier 2024 ¨¤ 17:39:17 UTC+1, Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> a ¨¦crit :

?

?

Hi folks!

I've been doing some research on the catalog subject, but my very superficial knowledge on VSAM matters (struggling to go through Demistifying VSAM redBook) prevents me to fully understand what my eyes are probably seeing. Anyways, after some reading , I ended up using CLIST TSO command to get on screen what I already had on print via JCL (fun!).
Either through TSO or JCL, CLIST ALL ENT('UCUSRDT0') CAT('UCUSRDT0') prints a ton of interesting information, specially the allocation, but I miserably fail on interpreting it...it is overwheelming (will dump it bellow)... although it allows me to do some especulations.

A list of the catalog entries name ends up with a brief summary after the big purge:

THE NUMBER OF ENTRIES PROCESSED WAS:

?AIX -------------------0

?ALIAS -----------------0

?CLUSTER ---------------1

?DATA ------------------1

?GDG -------------------0

?INDEX -----------------1

?NONVSAM --------------48

?PAGESPACE -------------0

?PATH ------------------0

?SPACE -----------------1

?USERCATALOG -----------0

?TOTAL ----------------52



While looking ath the allocation on the same catalog yelds the following:

CLUSTER ------- UCUSRDT0

? ? ?HISTORY

? ? ? ?OWNER-IDENT-------(NULL) CREATION----------23.258

? ? ? ?RELEASE----------------2 EXPIRATION--------00.000

??

?DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

? ? ? ?

?INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA------119808

? ? ?SPACE-PRI--------------3 HI-USED-RBA-------118784

? ? ?SPACE-SEC--------------3

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA-------95232 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA---------1024 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------1

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050006' LOW-RBA----------------0 TRACKS-----------------3

? ? ? ?HIGH-CCHH----X'00050008' HIGH-RBA-----------95231

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA--------96256 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA----------117759

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA-------118784 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA----------119807


- Those HI-ALLOC-RBA and HI-USED-RBA look often too close for comfort. Specially after a so significant decrease on the number of entries. I feel that I miss more underlying knowledge on the VSAM stuff to uderstand that data.
- I don't think the volume is full, I have to recall on the best way to get a printout of volume usage, but it is a 3380 and the amount of data held there can't sum that much bytes... still, I have to refresh
? on the way to get precisse info on that.
- Much like datasets, knowing how to scale a catalog, and also how to define its ability to expand is critical... a very interesting topic! but docs are hard to understand lacking preliminar knowledge.??
? Also much possibly, all this is going to be a good chance to learn how to perform a catalog migration.
- At least, I conclude that the default/vanilla 5 cyl usercatalog I created is falling short to host a reasonable amount of datasets for automatically provided sample data.?

Regarding my data gahering scripts:

- Output on job failure appeared to me consistent with that of yesterday... but i'm looking forward to catch a new failing job to compare outputs and share.
- I was holding 30 day data, of 11 sources of daily sample records (parsed linux log lines of some services), now i set it to 7, where the job itself took care of?
? deleting and uncataloging?the last dataset. The catalog now is pretty much printable, even at detail, with less than 100 entries in total.
? Number of records on datasets is far from massive, usually less than 100 records... no big data here... that's why I don't believe a whoping 3380 could be full.
- I don't create members on a fixed dataset, but rather, new datasets with few members are created (and wiped) daily.

Looking at examples such the one found at??makes me feel I need to further understand what happens under the hood as entries are written and deleted on the catalog.
??
Cheers!

?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

¿ªÔÆÌåÓý

Rene,

I believe that what you are referencing is the output showing both the DATA portion and the INDEX portion

If not, then I can not explain it ¨C

The PDF in from the class ¨C explains the different allocations ¨C and the internal record types and why they are the way they are ¨C

?

You indicate you do not see this on your system - - so ¨C I accept that it is entirely possible that I am missing something

?

?

?

?

DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

? ? ? ?

?

THIS IS THE INDEX PORTION

?

?

INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA------119808

? ? ?SPACE-PRI--------------3 HI-USED-RBA-------118784

? ? ?SPACE-SEC--------------3

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA-------95232 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA---------1024 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------1

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050006' LOW-RBA----------------0 TRACKS-----------------3

? ? ? ?HIGH-CCHH----X'00050008' HIGH-RBA-----------95231

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA--------96256 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA----------117759

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA-------118784 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA----------119807



?

Regards

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - is NOT deducted from one¡¯s lifespan

?

From: [email protected] <[email protected]> On Behalf Of Rene BRANDT via groups.io
Sent: Saturday, January 27, 2024 12:37 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

No it's not that. Alejandro give us the LISTCAT with 2 times the same extents LOW-CCHH-----X'00050009' HIGH-CCHH----X'0005000E
one time with RECSZ 512 and the other with 1024.
In the LISTCAT of my catalog i don't have 2 times the same extents. So why have we that there ?

¸é±ð²Ô¨¦

Le samedi 27 janvier 2024 ¨¤ 18:05:40 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene,

I am having trouble following what you are asking

May I suggest ¨C

Just GOOGLE ¨C VSAM Beginners guide

You will find MULTIPLE places to get the basics ¨C

CLUSTER, CA, CI, INDEX ¨C RBA ¨C all terms that are explained WAY better than I can

There are of course, YOU-TUBE videos if you like that format

?

Now, with this all said ¨C CATALOGS are VSAM data sets ¨C however, due to the nature ¨C there ARE a few items that are unique to catalog structures.

?

The Course Notes PDF ¨C explains this ¡°unique structure¡± very nicely ¨C I encourage you to read it ¨C the explanation provided is better than I can offer

?

Further, see Mark Waterbury post in this thread ¨C that references older manuals and IBM course ¨C and has more than you EVER wanted to know about VSAM ¨C

?

Here are the links again

Mark said

See:
? ? ??

Notice the "Primer" and the "VSAM Systems Programming" course materials:

? ? ??
and
? ? ??

The "course notes" are very detailed and the instructor described a number of "real world" scenarios, with caveats, work-arounds, and general good advice.

Enjoy

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOT deducted from one¡¯s lifespan

?

From: [email protected] <[email protected]>On Behalf Of Rene BRANDT via groups.io
Sent: Friday, January 26, 2024 7:27 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

In the lines given by Alejandro it is 2 times the same extents on the first RECSZ 512 and on the other RECSZ 1024, so ???
The extents for index are between the 2 extents of DATA

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 16:13:27 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene, Alejandro

?

While you are BOTH asking relevant questions ¨C frankly ¨C other than a basic understanding ¨C you are IMHO getting down too deep into the weeds

?

There are VOLUMES of documentation on how VSAM and catalogs work ¨C (in the OLD days ¨C we used to have to occasionally dump and ZAP to fix )

I have forgotton so much of my training over the years ¨C

?

There are entire careers been made on CATALOGS and CATALOG structures ¨C and management of same ¨C it is complicated ¨C

There are multiple products that are designed and built to assist with management and maintenance of catalogs - - these products have proven their worth over the years ¨C particularly in larger shops ¨C where there are EXTREME numbers of data sets and LARGER numbers equate to many additional levels and pieces to manage.?

?

?

There are RED books and basic manuals (of course the RED books try to EXPLAIN the basic manuals are simply documentation)

So ¨C for in depth explanations ¨C the Red books are better source ¨C ?(IMHO)

?

If I remember correctly ¨C there is a section in the ABCs of System programming Volume 3 ¨C on Catalogs ?- see this header

¡¤????????
Volume 3: Introduction to DFSMS, data set basics, storage management, hardware and software, catalogs, and DFSMStvs

?

Rene

?

There are TWO different pieces ¨C

The DATA portion and the INDEX

The DATA portion ¨C there are 512 records per track

In the INDEX portion there are 1024 records per track -?

?

Alejandro,

IDCAMS is the tool to manage catalogs

YouMAY BE ABLE ¨C in fact ¨C as was pointed out ¨C to ALTER the existing catalog ¨C or maybe not ¨C

OR ?you EXPORT ¨C by unloading all the data ¨C then re-load ¨C to re-organize the catalog

?

As you have now learned ¨C when you initially allocated the catalog ¨C you specifically specified 10? cyl - - without any secondary allocation ¨C ?this means when it gets full ¨C it can NOT expand - - so ¨C I would suggest ¨C a next step ¨C would be REORG ¨C (unload ¨C build a new larger catalog with the additional values ¨C (including secondary extents) then re-load ¨C the catalog -???

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Friday, January 26, 2024 4:46 AM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

Why is it PHYSICAL RECSZ 512 on the first and 1024 on the second one ?

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 01:07:28 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene,

I think your cut and paste got the same data twice¡­

?

If you look at the original LISTCAT ¨C

?

The DATA portion consists of TWO internal allocations ¨C total of 72 tracks

One VOLUME is 66 tracks followed by another of 6 tracks ¨C

?

DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION???

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392????????????????????? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< TOTAL TRACKS

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F??? <<<<<<<<<<<<<<<<<<<<<<<<END RBA -

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66???????????????????????? <<<<<< this is 66 tracks

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40??? <<<<<<<<<<<<<<<<<<<<<<<<<<NEXT BEGIN RBA

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6?????????????????????????? <<<<<<<<<<this is 6 tracks

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

?

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????TOTAL OF 72 TRACKS for the DATA PORTION

The ORIGINAL allocation was 5CYL - - or 80 TRACKS ¨C (remember 3380 is 15 tracks per cyl)

Then there is the index¡­.. as well ¨C it all comes together -

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Thursday, January 25, 2024 6:44 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi,

I found something strange perhaps someone could explain me :
Why we see 2 times the sale allocation with different recsize ?


VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA---------1036287
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495
and
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA----------117759
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA----------119807

Le jeudi 25 janvier 2024 ¨¤ 17:39:17 UTC+1, Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> a ¨¦crit :

?

?

Hi folks!

I've been doing some research on the catalog subject, but my very superficial knowledge on VSAM matters (struggling to go through Demistifying VSAM redBook) prevents me to fully understand what my eyes are probably seeing. Anyways, after some reading , I ended up using CLIST TSO command to get on screen what I already had on print via JCL (fun!).
Either through TSO or JCL, CLIST ALL ENT('UCUSRDT0') CAT('UCUSRDT0') prints a ton of interesting information, specially the allocation, but I miserably fail on interpreting it...it is overwheelming (will dump it bellow)... although it allows me to do some especulations.

A list of the catalog entries name ends up with a brief summary after the big purge:

THE NUMBER OF ENTRIES PROCESSED WAS:

?AIX -------------------0

?ALIAS -----------------0

?CLUSTER ---------------1

?DATA ------------------1

?GDG -------------------0

?INDEX -----------------1

?NONVSAM --------------48

?PAGESPACE -------------0

?PATH ------------------0

?SPACE -----------------1

?USERCATALOG -----------0

?TOTAL ----------------52



While looking ath the allocation on the same catalog yelds the following:

CLUSTER ------- UCUSRDT0

? ? ?HISTORY

? ? ? ?OWNER-IDENT-------(NULL) CREATION----------23.258

? ? ? ?RELEASE----------------2 EXPIRATION--------00.000

??

?DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

? ? ? ?

?INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA------119808

? ? ?SPACE-PRI--------------3 HI-USED-RBA-------118784

? ? ?SPACE-SEC--------------3

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA-------95232 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA---------1024 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------1

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050006' LOW-RBA----------------0 TRACKS-----------------3

? ? ? ?HIGH-CCHH----X'00050008' HIGH-RBA-----------95231

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA--------96256 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA----------117759

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA-------118784 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA----------119807


- Those HI-ALLOC-RBA and HI-USED-RBA look often too close for comfort. Specially after a so significant decrease on the number of entries. I feel that I miss more underlying knowledge on the VSAM stuff to uderstand that data.
- I don't think the volume is full, I have to recall on the best way to get a printout of volume usage, but it is a 3380 and the amount of data held there can't sum that much bytes... still, I have to refresh
? on the way to get precisse info on that.
- Much like datasets, knowing how to scale a catalog, and also how to define its ability to expand is critical... a very interesting topic! but docs are hard to understand lacking preliminar knowledge.??
? Also much possibly, all this is going to be a good chance to learn how to perform a catalog migration.
- At least, I conclude that the default/vanilla 5 cyl usercatalog I created is falling short to host a reasonable amount of datasets for automatically provided sample data.?

Regarding my data gahering scripts:

- Output on job failure appeared to me consistent with that of yesterday... but i'm looking forward to catch a new failing job to compare outputs and share.
- I was holding 30 day data, of 11 sources of daily sample records (parsed linux log lines of some services), now i set it to 7, where the job itself took care of?
? deleting and uncataloging?the last dataset. The catalog now is pretty much printable, even at detail, with less than 100 entries in total.
? Number of records on datasets is far from massive, usually less than 100 records... no big data here... that's why I don't believe a whoping 3380 could be full.
- I don't create members on a fixed dataset, but rather, new datasets with few members are created (and wiped) daily.

Looking at examples such the one found at??makes me feel I need to further understand what happens under the hood as entries are written and deleted on the catalog.
??
Cheers!

?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

Hi Jeff,

No it's not that. Alejandro give us the LISTCAT with 2 times the same extents LOW-CCHH-----X'00050009' HIGH-CCHH----X'0005000E
one time with RECSZ 512 and the other with 1024.
In the LISTCAT of my catalog i don't have 2 times the same extents. So why have we that there ?

¸é±ð²Ô¨¦


Le samedi 27 janvier 2024 ¨¤ 18:05:40 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :


Rene,

I am having trouble following what you are asking

May I suggest ¨C

Just GOOGLE ¨C VSAM Beginners guide

You will find MULTIPLE places to get the basics ¨C

CLUSTER, CA, CI, INDEX ¨C RBA ¨C all terms that are explained WAY better than I can

There are of course, YOU-TUBE videos if you like that format

?

Now, with this all said ¨C CATALOGS are VSAM data sets ¨C however, due to the nature ¨C there ARE a few items that are unique to catalog structures.

?

The Course Notes PDF ¨C explains this ¡°unique structure¡± very nicely ¨C I encourage you to read it ¨C the explanation provided is better than I can offer

?

Further, see Mark Waterbury post in this thread ¨C that references older manuals and IBM course ¨C and has more than you EVER wanted to know about VSAM ¨C

?

Here are the links again

Mark said

See:
? ? ??

Notice the "Primer" and the "VSAM Systems Programming" course materials:

? ? ??
and
? ? ??

The "course notes" are very detailed and the instructor described a number of "real world" scenarios, with caveats, work-arounds, and general good advice.

Enjoy

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOT deducted from one¡¯s lifespan

?

From: [email protected] <[email protected]>On Behalf Of Rene BRANDT via groups.io
Sent: Friday, January 26, 2024 7:27 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

In the lines given by Alejandro it is 2 times the same extents on the first RECSZ 512 and on the other RECSZ 1024, so ???
The extents for index are between the 2 extents of DATA

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 16:13:27 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene, Alejandro

?

While you are BOTH asking relevant questions ¨C frankly ¨C other than a basic understanding ¨C you are IMHO getting down too deep into the weeds

?

There are VOLUMES of documentation on how VSAM and catalogs work ¨C (in the OLD days ¨C we used to have to occasionally dump and ZAP to fix )

I have forgotton so much of my training over the years ¨C

?

There are entire careers been made on CATALOGS and CATALOG structures ¨C and management of same ¨C it is complicated ¨C

There are multiple products that are designed and built to assist with management and maintenance of catalogs - - these products have proven their worth over the years ¨C particularly in larger shops ¨C where there are EXTREME numbers of data sets and LARGER numbers equate to many additional levels and pieces to manage.?

?

?

There are RED books and basic manuals (of course the RED books try to EXPLAIN the basic manuals are simply documentation)

So ¨C for in depth explanations ¨C the Red books are better source ¨C ?(IMHO)

?

If I remember correctly ¨C there is a section in the ABCs of System programming Volume 3 ¨C on Catalogs ?- see this header

¡¤????????
Volume 3: Introduction to DFSMS, data set basics, storage management, hardware and software, catalogs, and DFSMStvs

?

Rene

?

There are TWO different pieces ¨C

The DATA portion and the INDEX

The DATA portion ¨C there are 512 records per track

In the INDEX portion there are 1024 records per track -?

?

Alejandro,

IDCAMS is the tool to manage catalogs

YouMAY BE ABLE ¨C in fact ¨C as was pointed out ¨C to ALTER the existing catalog ¨C or maybe not ¨C

OR ?you EXPORT ¨C by unloading all the data ¨C then re-load ¨C to re-organize the catalog

?

As you have now learned ¨C when you initially allocated the catalog ¨C you specifically specified 10? cyl - - without any secondary allocation ¨C ?this means when it gets full ¨C it can NOT expand - - so ¨C I would suggest ¨C a next step ¨C would be REORG ¨C (unload ¨C build a new larger catalog with the additional values ¨C (including secondary extents) then re-load ¨C the catalog -???

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Friday, January 26, 2024 4:46 AM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

Why is it PHYSICAL RECSZ 512 on the first and 1024 on the second one ?

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 01:07:28 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene,

I think your cut and paste got the same data twice¡­

?

If you look at the original LISTCAT ¨C

?

The DATA portion consists of TWO internal allocations ¨C total of 72 tracks

One VOLUME is 66 tracks followed by another of 6 tracks ¨C

?

DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION???

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392????????????????????? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< TOTAL TRACKS

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F??? <<<<<<<<<<<<<<<<<<<<<<<<END RBA -

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66???????????????????????? <<<<<< this is 66 tracks

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40??? <<<<<<<<<<<<<<<<<<<<<<<<<<NEXT BEGIN RBA

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6?????????????????????????? <<<<<<<<<<this is 6 tracks

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

?

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????TOTAL OF 72 TRACKS for the DATA PORTION

The ORIGINAL allocation was 5CYL - - or 80 TRACKS ¨C (remember 3380 is 15 tracks per cyl)

Then there is the index¡­.. as well ¨C it all comes together -

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Thursday, January 25, 2024 6:44 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi,

I found something strange perhaps someone could explain me :
Why we see 2 times the sale allocation with different recsize ?


VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA---------1036287
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495
and
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA----------117759
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA----------119807

Le jeudi 25 janvier 2024 ¨¤ 17:39:17 UTC+1, Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> a ¨¦crit :

?

?

Hi folks!

I've been doing some research on the catalog subject, but my very superficial knowledge on VSAM matters (struggling to go through Demistifying VSAM redBook) prevents me to fully understand what my eyes are probably seeing. Anyways, after some reading , I ended up using CLIST TSO command to get on screen what I already had on print via JCL (fun!).
Either through TSO or JCL, CLIST ALL ENT('UCUSRDT0') CAT('UCUSRDT0') prints a ton of interesting information, specially the allocation, but I miserably fail on interpreting it...it is overwheelming (will dump it bellow)... although it allows me to do some especulations.

A list of the catalog entries name ends up with a brief summary after the big purge:

THE NUMBER OF ENTRIES PROCESSED WAS:

?AIX -------------------0

?ALIAS -----------------0

?CLUSTER ---------------1

?DATA ------------------1

?GDG -------------------0

?INDEX -----------------1

?NONVSAM --------------48

?PAGESPACE -------------0

?PATH ------------------0

?SPACE -----------------1

?USERCATALOG -----------0

?TOTAL ----------------52



While looking ath the allocation on the same catalog yelds the following:

CLUSTER ------- UCUSRDT0

? ? ?HISTORY

? ? ? ?OWNER-IDENT-------(NULL) CREATION----------23.258

? ? ? ?RELEASE----------------2 EXPIRATION--------00.000

??

?DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

? ? ? ?

?INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA------119808

? ? ?SPACE-PRI--------------3 HI-USED-RBA-------118784

? ? ?SPACE-SEC--------------3

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA-------95232 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA---------1024 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------1

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050006' LOW-RBA----------------0 TRACKS-----------------3

? ? ? ?HIGH-CCHH----X'00050008' HIGH-RBA-----------95231

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA--------96256 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA----------117759

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA-------118784 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA----------119807


- Those HI-ALLOC-RBA and HI-USED-RBA look often too close for comfort. Specially after a so significant decrease on the number of entries. I feel that I miss more underlying knowledge on the VSAM stuff to uderstand that data.
- I don't think the volume is full, I have to recall on the best way to get a printout of volume usage, but it is a 3380 and the amount of data held there can't sum that much bytes... still, I have to refresh
? on the way to get precisse info on that.
- Much like datasets, knowing how to scale a catalog, and also how to define its ability to expand is critical... a very interesting topic! but docs are hard to understand lacking preliminar knowledge.??
? Also much possibly, all this is going to be a good chance to learn how to perform a catalog migration.
- At least, I conclude that the default/vanilla 5 cyl usercatalog I created is falling short to host a reasonable amount of datasets for automatically provided sample data.?

Regarding my data gahering scripts:

- Output on job failure appeared to me consistent with that of yesterday... but i'm looking forward to catch a new failing job to compare outputs and share.
- I was holding 30 day data, of 11 sources of daily sample records (parsed linux log lines of some services), now i set it to 7, where the job itself took care of?
? deleting and uncataloging?the last dataset. The catalog now is pretty much printable, even at detail, with less than 100 entries in total.
? Number of records on datasets is far from massive, usually less than 100 records... no big data here... that's why I don't believe a whoping 3380 could be full.
- I don't create members on a fixed dataset, but rather, new datasets with few members are created (and wiped) daily.

Looking at examples such the one found at??makes me feel I need to further understand what happens under the hood as entries are written and deleted on the catalog.
??
Cheers!

?


Re: NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

 

¿ªÔÆÌåÓý

Rene,

I am having trouble following what you are asking

May I suggest ¨C

Just GOOGLE ¨C VSAM Beginners guide

You will find MULTIPLE places to get the basics ¨C

CLUSTER, CA, CI, INDEX ¨C RBA ¨C all terms that are explained WAY better than I can

There are of course, YOU-TUBE videos if you like that format

?

Now, with this all said ¨C CATALOGS are VSAM data sets ¨C however, due to the nature ¨C there ARE a few items that are unique to catalog structures.

?

The Course Notes PDF ¨C explains this ¡°unique structure¡± very nicely ¨C I encourage you to read it ¨C the explanation provided is better than I can offer

?

Further, see Mark Waterbury post in this thread ¨C that references older manuals and IBM course ¨C and has more than you EVER wanted to know about VSAM ¨C

?

Here are the links again

Mark said

See:
? ? ??

Notice the "Primer" and the "VSAM Systems Programming" course materials:

? ? ??
and
? ? ??

The "course notes" are very detailed and the instructor described a number of "real world" scenarios, with caveats, work-arounds, and general good advice.

Enjoy

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - is NOT deducted from one¡¯s lifespan

?

From: [email protected] <[email protected]> On Behalf Of Rene BRANDT via groups.io
Sent: Friday, January 26, 2024 7:27 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

In the lines given by Alejandro it is 2 times the same extents on the first RECSZ 512 and on the other RECSZ 1024, so ???
The extents for index are between the 2 extents of DATA

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 16:13:27 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene, Alejandro

?

While you are BOTH asking relevant questions ¨C frankly ¨C other than a basic understanding ¨C you are IMHO getting down too deep into the weeds

?

There are VOLUMES of documentation on how VSAM and catalogs work ¨C (in the OLD days ¨C we used to have to occasionally dump and ZAP to fix )

I have forgotton so much of my training over the years ¨C

?

There are entire careers been made on CATALOGS and CATALOG structures ¨C and management of same ¨C it is complicated ¨C

There are multiple products that are designed and built to assist with management and maintenance of catalogs - - these products have proven their worth over the years ¨C particularly in larger shops ¨C where there are EXTREME numbers of data sets and LARGER numbers equate to many additional levels and pieces to manage.?

?

?

There are RED books and basic manuals (of course the RED books try to EXPLAIN the basic manuals are simply documentation)

So ¨C for in depth explanations ¨C the Red books are better source ¨C ?(IMHO)

?

If I remember correctly ¨C there is a section in the ABCs of System programming Volume 3 ¨C on Catalogs ?- see this header

¡¤????????
Volume 3: Introduction to DFSMS, data set basics, storage management, hardware and software, catalogs, and DFSMStvs

?

Rene

?

There are TWO different pieces ¨C

The DATA portion and the INDEX

The DATA portion ¨C there are 512 records per track

In the INDEX portion there are 1024 records per track -?

?

Alejandro,

IDCAMS is the tool to manage catalogs

YouMAY BE ABLE ¨C in fact ¨C as was pointed out ¨C to ALTER the existing catalog ¨C or maybe not ¨C

OR ?you EXPORT ¨C by unloading all the data ¨C then re-load ¨C to re-organize the catalog

?

As you have now learned ¨C when you initially allocated the catalog ¨C you specifically specified 10? cyl - - without any secondary allocation ¨C ?this means when it gets full ¨C it can NOT expand - - so ¨C I would suggest ¨C a next step ¨C would be REORG ¨C (unload ¨C build a new larger catalog with the additional values ¨C (including secondary extents) then re-load ¨C the catalog -???

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOT deducted from one¡¯s lifespan

?

From: [email protected] <[email protected]>On Behalf Of Rene BRANDT via groups.io
Sent: Friday, January 26, 2024 4:46 AM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi Jeff,

Why is it PHYSICAL RECSZ 512 on the first and 1024 on the second one ?

¸é±ð²Ô¨¦

Le vendredi 26 janvier 2024 ¨¤ 01:07:28 UTC+1, Jeff Bassett <bassettj@...> a ¨¦crit :

?

?

Rene,

I think your cut and paste got the same data twice¡­

?

If you look at the original LISTCAT ¨C

?

The DATA portion consists of TWO internal allocations ¨C total of 72 tracks

One VOLUME is 66 tracks followed by another of 6 tracks ¨C

?

DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION???

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392????????????????????? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< TOTAL TRACKS

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F??? <<<<<<<<<<<<<<<<<<<<<<<<END RBA -

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66???????????????????????? <<<<<< this is 66 tracks

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40??? <<<<<<<<<<<<<<<<<<<<<<<<<<NEXT BEGIN RBA

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6?????????????????????????? <<<<<<<<<<this is 6 tracks

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

?

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????TOTAL OF 72 TRACKS for the DATA PORTION

The ORIGINAL allocation was 5CYL - - or 80 TRACKS ¨C (remember 3380 is 15 tracks per cyl)

Then there is the index¡­.. as well ¨C it all comes together -

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - isNOTdeducted from one¡¯s lifespan

?

From:[email protected] <[email protected]>On Behalf OfRene BRANDT via groups.io
Sent: Thursday, January 25, 2024 6:44 PM
To: [email protected]
Subject: Re: [H390-MVS] NOT CATLGD 4 | Unable to CATLG PDS under certain qualifier.

?

Hi,

I found something strange perhaps someone could explain me :
Why we see 2 times the sale allocation with different recsize ?


VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA---------1036287
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495
and
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66
HIGH-CCHH----X'00050005' HIGH-RBA----------117759
VOLUME
VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1
EXTENTS:
LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6
HIGH-CCHH----X'0005000E' HIGH-RBA----------119807

Le jeudi 25 janvier 2024 ¨¤ 17:39:17 UTC+1, Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> a ¨¦crit :

?

?

Hi folks!

I've been doing some research on the catalog subject, but my very superficial knowledge on VSAM matters (struggling to go through Demistifying VSAM redBook) prevents me to fully understand what my eyes are probably seeing. Anyways, after some reading , I ended up using CLIST TSO command to get on screen what I already had on print via JCL (fun!).
Either through TSO or JCL, CLIST ALL ENT('UCUSRDT0') CAT('UCUSRDT0') prints a ton of interesting information, specially the allocation, but I miserably fail on interpreting it...it is overwheelming (will dump it bellow)... although it allows me to do some especulations.

A list of the catalog entries name ends up with a brief summary after the big purge:

THE NUMBER OF ENTRIES PROCESSED WAS:

?AIX -------------------0

?ALIAS -----------------0

?CLUSTER ---------------1

?DATA ------------------1

?GDG -------------------0

?INDEX -----------------1

?NONVSAM --------------48

?PAGESPACE -------------0

?PATH ------------------0

?SPACE -----------------1

?USERCATALOG -----------0

?TOTAL ----------------52



While looking ath the allocation on the same catalog yelds the following:

CLUSTER ------- UCUSRDT0

? ? ?HISTORY

? ? ? ?OWNER-IDENT-------(NULL) CREATION----------23.258

? ? ? ?RELEASE----------------2 EXPIRATION--------00.000

??

?DATA ------- VSAM.CATALOG.BASE.DATA.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA-----1130496

? ? ?SPACE-PRI-------------72 HI-USED-RBA------1083392

? ? ?SPACE-SEC--------------0

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1036288 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA--------47104 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?HI-KEY-RBA----------6656

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA----------------0 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA---------1036287

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE----------512 HI-ALLOC-RBA-----1130496 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------46 HI-USED-RBA------1083392 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?HI-KEY-RBA-------1036288

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA----------1036288 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA---------1130495

? ? ? ?

?INDEX ------ VSAM.CATALOG.BASE.INDEX.RECORD

? ?HISTORY

? ? ?OWNER-IDENT-------(NULL) CREATION----------00.000

? ? ?RELEASE----------------2 EXPIRATION--------00.000

? ?ALLOCATION

? ? ?SPACE-TYPE---------TRACK HI-ALLOC-RBA------119808

? ? ?SPACE-PRI--------------3 HI-USED-RBA-------118784

? ? ?SPACE-SEC--------------3

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA-------95232 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA---------1024 EXTENT-TYPE--------X'00'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------1

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050006' LOW-RBA----------------0 TRACKS-----------------3

? ? ? ?HIGH-CCHH----X'00050008' HIGH-RBA-----------95231

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------117760 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA--------96256 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------00

? ? ?HIGH-KEY--------------3F

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00010000' LOW-RBA------------95232 TRACKS----------------66

? ? ? ?HIGH-CCHH----X'00050005' HIGH-RBA----------117759

? ?VOLUME

? ? ?VOLSER------------USRDT0 PHYREC-SIZE---------1024 HI-ALLOC-RBA------119808 EXTENT-NUMBER----------1

? ? ?DEVTYPE------X'3010200E' PHYRECS/TRK-----------31 HI-USED-RBA-------118784 EXTENT-TYPE--------X'80'

? ? ?VOLFLAG------------PRIME TRACKS/CA--------------3

? ? ?LOW-KEY---------------40

? ? ?HIGH-KEY--------------FF

? ? ?EXTENTS:

? ? ? ?LOW-CCHH-----X'00050009' LOW-RBA-----------117760 TRACKS-----------------6

? ? ? ?HIGH-CCHH----X'0005000E' HIGH-RBA----------119807


- Those HI-ALLOC-RBA and HI-USED-RBA look often too close for comfort. Specially after a so significant decrease on the number of entries. I feel that I miss more underlying knowledge on the VSAM stuff to uderstand that data.
- I don't think the volume is full, I have to recall on the best way to get a printout of volume usage, but it is a 3380 and the amount of data held there can't sum that much bytes... still, I have to refresh
? on the way to get precisse info on that.
- Much like datasets, knowing how to scale a catalog, and also how to define its ability to expand is critical... a very interesting topic! but docs are hard to understand lacking preliminar knowledge.??
? Also much possibly, all this is going to be a good chance to learn how to perform a catalog migration.
- At least, I conclude that the default/vanilla 5 cyl usercatalog I created is falling short to host a reasonable amount of datasets for automatically provided sample data.?

Regarding my data gahering scripts:

- Output on job failure appeared to me consistent with that of yesterday... but i'm looking forward to catch a new failing job to compare outputs and share.
- I was holding 30 day data, of 11 sources of daily sample records (parsed linux log lines of some services), now i set it to 7, where the job itself took care of?
? deleting and uncataloging?the last dataset. The catalog now is pretty much printable, even at detail, with less than 100 entries in total.
? Number of records on datasets is far from massive, usually less than 100 records... no big data here... that's why I don't believe a whoping 3380 could be full.
- I don't create members on a fixed dataset, but rather, new datasets with few members are created (and wiped) daily.

Looking at examples such the one found at??makes me feel I need to further understand what happens under the hood as entries are written and deleted on the catalog.
??
Cheers!

?