how to see VSAM DATASET

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
swadhend
Member
Posts: 6
Joined: Mon Jan 28, 2008 3:06 pm

how to see VSAM DATASET

Post by swadhend » Thu Mar 13, 2008 3:49 pm

Hi ,
I create VSAM dataset i want to see the contents of that datasets,
is anybody help me

ksk
Member
Posts: 12
Joined: Mon May 12, 2008 3:06 pm

Post by ksk » Fri May 16, 2008 11:52 am

You can browse a VSAM dataset using File-Aid.

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Fri May 16, 2008 7:02 pm

if you don't have file aid, you can always go to the ISPF 3.2.V screen and generate an IDCAMS PRINT.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

ksk
Member
Posts: 12
Joined: Mon May 12, 2008 3:06 pm

Post by ksk » Tue May 20, 2008 2:12 pm

Dick,

Can I know which option we need to provide after ISPF 3.2.V to get IDCAMS PRINT.

Because, I could see DEFINE, DELETE and INFORMATION(LISTCAT) only. Please let me know through which command we can view the VSAM dataset without using File-Aid.

KSK

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Wed May 21, 2008 9:22 pm

the option is not provided, but I have not found this to be a hinderance.
you need to edit the jcl generated by an available option (any, does not matter, just get to the EDIT JCL screen),
and then modify the jcl presented by the panel to be PRINT INDATASET(DSN) -<<< i use indataset, since ddname has nothing to reference. and either a key or count with skiprecs. carefull, a large file could blow up you tso session - some kind of a xx37 error. - but then you can browse it.

have not been able to view the output of the 3.2.v panel because I don't know the name generated by this service, probably find it in my sdsf log if I had to.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others