IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

End of VSAM dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ubm_ak19

New User


Joined: 07 May 2007
Posts: 8
Location: Pune

PostPosted: Wed Mar 19, 2008 6:58 pm
Reply with quote

Friends,

Is there any command to view the last page of a VSAM dataset.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 19, 2008 7:09 pm
Reply with quote

What tool/facility are you using to view it? Is there a HELP facility available for the tool?
Back to top
View user's profile Send private message
ubm_ak19

New User


Joined: 07 May 2007
Posts: 8
Location: Pune

PostPosted: Wed Mar 19, 2008 7:12 pm
Reply with quote

I am using the command PRINT CH IDS(/) to view the dataset , when i issue this command to the dataset i can see the contents of the dataset.

could you please help me out.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 19, 2008 9:58 pm
Reply with quote

Hello,

That is probably not how you want to "see" the data.

If your system has FileAid, i'd suggest using that. Otherwise, you could select records usng the sort product on your system.
Back to top
View user's profile Send private message
ubm_ak19

New User


Joined: 07 May 2007
Posts: 8
Location: Pune

PostPosted: Thu Mar 20, 2008 8:57 am
Reply with quote

Hi,

I am able to view the Vsam file using that print ch command , but when i am viewing that dataset i can come out of that dataset by means of the command alt->f1 , but if i do that means i am coming out of that dataset but when i do wg(whose got) command to that vsam file means it shows that my userid is owning that dataset and no other can access it. So i just wanted a command by which i can come out of the dataset properly so that other users can use that.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 20, 2008 12:39 pm
Reply with quote

ubm_ak19 wrote:
I am using the command PRINT CH IDS(/) to view the dataset , when i issue this command to the dataset i can see the contents of the dataset.

could you please help me out.

Yet again with dismay I ask, what if your VSAM file has many millions of records in it ?

Sigh icon_sad.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 20, 2008 7:11 pm
Reply with quote

Hello,

Let me say this another way.

You do not want to use that command to view your vsam data. It may be the worst possible choice. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top