Page 1 of 1

ZONE name for OLD vsam SMPE

PostPosted: Thu May 10, 2012 4:40 pm
by jaggz
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

Re: ZONE name for OLD vsam SMPE

PostPosted: Thu May 10, 2012 4:55 pm
by mongan
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.

Re: ZONE name for OLD vsam SMPE

PostPosted: Thu May 10, 2012 5:03 pm
by Robert Sample
What do you get with a
LIST ALLZONES .

Re: ZONE name for OLD vsam SMPE

PostPosted: Fri May 11, 2012 8:08 am
by jaggz
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 :
//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.

Re: ZONE name for OLD vsam SMPE

PostPosted: Fri May 11, 2012 8:13 am
by steve-myers
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.

Re: ZONE name for OLD vsam SMPE

PostPosted: Fri May 11, 2012 8:18 am
by jaggz
Hi Steve,

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
UCLIN REP
?

Jaggz