View previous topic :: View next topic |
Author |
Message |
Vedha Beginner
Joined: 10 Aug 2005 Posts: 2 Topics: 1
|
Posted: Tue Aug 30, 2005 1:17 pm Post subject: How to browse an VSAM file from command line? |
|
|
Hi
Can someone tell me how could i browse an VSAM file from command line(using option 3.4) without using any Utility
Thanks in advance
-Vedha. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Aug 30, 2005 1:36 pm Post subject: |
|
|
Vedha,
You cannot browse the contents of the vsam file using 3.4. You need an utility to browse it. ex: DITTO , FILE-AID.
However you can copy the vsam cluster using IDCAMS REPRO , IEBGENER or Sort utlity to a sequential file and browse the seq file.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Vedha Beginner
Joined: 10 Aug 2005 Posts: 2 Topics: 1
|
Posted: Tue Aug 30, 2005 1:44 pm Post subject: |
|
|
Kolusu,
Thanks. Can you let me know the link for TSO/ISPF commands associated with VSAM. I may be wrong but i guess there are few commands like IDS..which are associated with VSAM.
Thanks in advance.
-Vedha. |
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Wed Aug 31, 2005 9:31 am Post subject: |
|
|
Vedha,
There is no standard utility to do that. I can understand your problem. I also faced this problem at one training shop where we did not have fileaid. It is frustating to write a idcams job everytime you need to browse a file. To overcome that problem, I wrote a REXX routine which lets you browse a VSAM file. No file stuff, the vsam records are displayed right on the screen(like fileaid). I cannot give you the code here because I gave (-..we all need money...right) it to xephon.com for publication and its their copyright material now.
But nothing great about the routine. It was essentially built around the TSO REPRO command. You can try writing a similar routine. Look up the REXX reference for TSO REPRO and you can do it easily. Let me know if you face any problems.
HTH....Regards,
Manas _________________ There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948) |
|
Back to top |
|
|
taltyman JCL Forum Moderator
Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Wed Aug 31, 2005 5:01 pm Post subject: |
|
|
REVIEW on the CBT tape can browse a vsam file. It's rudimentary but better than nothing. |
|
Back to top |
|
|
|
|