Dear All,
In one of our test system we have some Target and Distribution libraries for which I am unable to fetch the ZONE name for each Libraries. Is there a way to browse these VSAM files to know the ZONE name. Here In our Global ZONE these OLD target and distribution Libraries are not visible after doing LIST GZONE.
Could anyone please point me a way to browse the SMPE VSAM files to check the ZONE name alone.
Jaggz
ZONE name for OLD vsam SMPE
- mongan
- Posts: 211
- Joined: Tue Jan 11, 2011 8:32 pm
- Skillset: System Programmer
- Referer: Google searches
Re: ZONE name for OLD vsam SMPE
As far as I know the zone name is not embedded in the vsam dataset. Just try defining a zone with the corresponding vsam data set and see if you can access it.
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: ZONE name for OLD vsam SMPE
What do you get with a
Code: Select all
LIST ALLZONES .
- jaggz
- Posts: 356
- Joined: Fri Jul 23, 2010 8:51 pm
- Skillset: JCL, VSAM,RACF,ACF2,MQ SERIES
- Referer: inernet
Re: ZONE name for OLD vsam SMPE
Mongan,
Zone names are embedded. Can do a Print ids ch(/) against your SMPE VSAM datasets.
Robert,
LIST ALLZONES. just shows the recent one installed.
All,
A quick method to know the Zone name when you are unsure about the zone name. You can run the below :
Apology for posting the JCL here since I don't find Code tag when We select Quick Reply :
First we have to run the Below JCL :
The records written to the output will show the name of the zones contained within that VSAM CSI data set. Each Record will be identified by one Zone.
Zone names are embedded. Can do a Print ids ch(/) against your SMPE VSAM datasets.
Robert,
LIST ALLZONES. just shows the recent one installed.
All,
A quick method to know the Zone name when you are unsure about the zone name. You can run the below :
Apology for posting the JCL here since I don't find Code tag when We select Quick Reply :
First we have to run the Below JCL :
Code: Select all
//REPRO EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//INDD DD DISP=SHR,DSN=SMPE.CICS.TARGET.CSI
//OUTDD DD SYSOUT=*,DCB=(RECFM=VB,LRECL=147)
//SYSIN DD *
REPRO INFILE(INDD) OUTFILE(OUTDD) +
FROMKEY(X'0000020000') +
TOKEY(X'00000200FF')
/*"
The records written to the output will show the name of the zones contained within that VSAM CSI data set. Each Record will be identified by one Zone.
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: ZONE name for OLD vsam SMPE
Even if you are able to retrieve the zone names, and from there get the target library names from DDDEF elements, they may be incorrect since DDDEF dataset names can be overridden in the JCL used to run SMPE.
- jaggz
- Posts: 356
- Joined: Fri Jul 23, 2010 8:51 pm
- Skillset: JCL, VSAM,RACF,ACF2,MQ SERIES
- Referer: inernet
Re: ZONE name for OLD vsam SMPE
Hi Steve,
Does it happen when we do ?
Jaggz
steve-myers wrote: they may be incorrect since DDDEF dataset names can be overridden in the JCL used to run SMPE.
Does it happen when we do
Code: Select all
UCLIN REP
Jaggz
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 2688
-
by engh
View the latest post
Mon Jan 09, 2023 2:23 pm
-
-
Ho can I to assemble any ASSEM entry in some target zone
by futohomok » Mon Oct 30, 2023 2:32 pm » in IMS DB/DC - 0
- 2214
-
by futohomok
View the latest post
Mon Oct 30, 2023 2:32 pm
-
-
- 3
- 7883
-
by socker_dad
View the latest post
Thu Jan 28, 2021 4:13 am
-
- 2
- 1412
-
by Robert Sample
View the latest post
Fri Oct 22, 2021 9:41 pm
-
- 2
- 1438
-
by naga821
View the latest post
Fri Oct 28, 2022 7:31 pm