ZONE name for OLD vsam SMPE



Ask about System customization & performance, Workload management, I/O device configuration etc.

ZONE name for OLD vsam SMPE

Postby jaggz » Thu May 10, 2012 4:40 pm

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
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: ZONE name for OLD vsam SMPE

Postby mongan » Thu May 10, 2012 4:55 pm

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.
User avatar
mongan
 
Posts: 211
Joined: Tue Jan 11, 2011 8:32 pm
Has thanked: 1 time
Been thanked: 5 times

Re: ZONE name for OLD vsam SMPE

Postby Robert Sample » Thu May 10, 2012 5:03 pm

What do you get with a
LIST ALLZONES .
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: ZONE name for OLD vsam SMPE

Postby jaggz » Fri May 11, 2012 8:08 am

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.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: ZONE name for OLD vsam SMPE

Postby steve-myers » Fri May 11, 2012 8:13 am

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: ZONE name for OLD vsam SMPE

Postby jaggz » Fri May 11, 2012 8:18 am

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
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post