MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

capturing attributes of VSAM and base GDG

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
ranjit5311
Beginner


Joined: 27 Nov 2005
Posts: 27
Topics: 14

PostPosted: Mon Feb 06, 2006 10:29 am    Post subject: capturing attributes of VSAM and base GDG Reply with quote

Hi friends

I am finding problems with finding the attribute of VSAM file and base GDG through REXX. I am able to capure the attributes of PS file by use tso comand LISTDS. But couldn't able to do for VSAM and base GDG.

Thanks
Ranjit
Back to top
View user's profile Send private message
CaptObvious
Beginner


Joined: 01 Feb 2006
Posts: 19
Topics: 1

PostPosted: Mon Feb 06, 2006 12:48 pm    Post subject: Reply with quote

That's because you can't use TSO to list the attributes of a VSAM file, either. When you try to use the ISPF dialogue to list a VSAM file, it gets you started on a utility that helps you write an IDCAMS batch job. Use the IDCAMS utility functions in your REXX exec and you'll be fine.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Feb 06, 2006 1:56 pm    Post subject: Reply with quote

Try using TSO command LISTCAT.
Back to top
View user's profile Send private message
ranjit5311
Beginner


Joined: 27 Nov 2005
Posts: 27
Topics: 14

PostPosted: Tue Feb 07, 2006 1:26 am    Post subject: Reply with quote

CaptObvious, could u please elaborate how to use IDCAMS utilities funtions in the rexx program by stating examples?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Tue Feb 07, 2006 9:30 am    Post subject: Reply with quote

ranjit5311,

Check this link which shows an example of issuing IDCAMS commands and trapping the OUTPUT in rexx.

http://mvsforums.com/helpboards/viewtopic.php?p=14690#14690

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group