vtoc information



IBM's Command List programming language & Restructured Extended Executor

vtoc information

Postby syamcs » Fri Feb 25, 2011 11:56 am

i need to get information regarding VTOC. Is it possible to get VTOC information through REXX ,if so can any one help me to resolve this..... :)
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: vtoc information

 

Re: vtoc information

Postby mongan » Fri Feb 25, 2011 12:29 pm

Why use rexx when there is a utility to do this:

//PROG EXEC PGM=IEHLIST,REGION=4M
//SYSPRINT DD SYSOUT=*
//DD1 DD UNIT=3390,VOLUME=SER=MVS319,DISP=SHR
//SYSIN DD *
LISTVTOC FORMAT,VOL=3390=MVS319,DSNAME=(PAGE.VMVS319.LOCAL1.DATA)
/*

You can drop the DSNAME to get a list of the entire VTOC.
User avatar
mongan
 
Posts: 212
Joined: Tue Jan 11, 2011 8:32 pm
Has thanked: 1 time
Been thanked: 5 times

Re: vtoc information

Postby syamcs » Fri Feb 25, 2011 12:37 pm

thank you..... :)
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: vtoc information

Postby steve-myers » Fri Feb 25, 2011 8:05 pm

It would help us if we knew what kind of VTOC information you want. The output of the IEHLIST LISTVTOC function is pretty unreadable, even for people that know the contents of the VTOC quite well.

The LISTDSI command in Rexx when it is run in TSO provides most of the information that you could get from LISTVTOC DSNAME=xxx in a far more usable format for Rexx or CLIST.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post