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

Number of records in a tape dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Feb 09, 2006 2:46 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
Search our Forums:

Back to Top