Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Number of records in a tape dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Thu Feb 09, 2006 2:27 pm    Post subject: Number of records in a tape dataset
Reply with quote

Hi,

I have a tape dataset which we cant access.........

if we want to access means we need to copy to another flat file.....

But, I want to know the number of records present in a tape dataset so that I can verify that number of records copied to flat file or not.....

thx in advance.......

pavan
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Feb 09, 2006 2:46 pm    Post subject: Re: Number of records in a tape dataset
Reply with quote

Generally returning ZERO as RC from IDCAMS step (for copying TAPE to DISK) denotes your data have been copied.

Why not to right a prog along with Display Count for I/p & O/p, in case suspecious to the utility results.

Regards,

Priyesh.
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Fri Feb 10, 2006 10:14 am    Post subject:
Reply with quote

Hi Priyesh,

thanks for your reply.....But, I want to know is there any other way to find the record count of tape datasets directly without doing all these things.............

thx in advance............

pavan
Back to top
View user's profile Send private message
prabs2006

Active User


Joined: 12 Jan 2006
Posts: 103

PostPosted: Fri Feb 10, 2006 12:04 pm    Post subject:
Reply with quote

Hi

I believe you can go into TMS (Tape Management System) and find the no of recs.

Else

During copying into a flat file, you can c the no of input recs mentioned in the sysout.

T & R
Prabs
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us