Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to see the records in a Tape file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
veera
Warnings : 1

New User


Joined: 24 Nov 2004
Posts: 20
Location: chennai

PostPosted: Sun Dec 12, 2004 9:17 pm    Post subject: How to see the records in a Tape file
Reply with quote

HI,
1. HOW SEE THE LAST FIVE RECORDS IN FLATFILE BY USING FILEAID.
2.HOW TO SEE THE RECORDS IN TAPE FILE.
REGARDS,
VEERA

Warning: Caps On
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Dec 13, 2004 2:57 am    Post subject:
Reply with quote

Hi Veera,

Your ques is not clear. That may be why you got no replies. I for one don't like to type, so performing an interrogation to get to the REAL problem doesn't interest me much. You could spend a little extra time framing your ques rather than relying on the replyer to do it for you.

Anyway, if you want to display the recs on your ISPF term just enter "m" on the command line and press the DOWN PFKey; I think AF uses PF11, but check 1st by entering KEYS in the cmd line.

TAPE files can't be displayed on the term via ISPF.

IF you want to print or capture the last 5 recs, use this FA batch JCL:
Code:

//COPY5   EXEC PGM=FILEAID
//DD01    DD   DSN=your file name, etc.
//DD01O   DD   DSN=5 rec file name, etc.
or
//DD01O   DD   SYSOUT=*
//SYSIN   DD   *
$$DD01 COPYBACK OUT=5

I've never tried it myself, but you may be able to use this to get the last 5 recs from a tape d/s.
/*
Back to top
View user's profile Send private message
amarpandian

New User


Joined: 07 Mar 2005
Posts: 2
Location: Hyderabad

PostPosted: Tue Apr 26, 2005 4:29 pm    Post subject: Re: HOW TO SEE THE RECORDS IN TAPE FILE
Reply with quote

Hi Veera,

Sorry for the late reply......coz happened to see that only now....

In file-aid once you entered in browse/edit mode....After giving the DSN and Copy book details you will be having a selection criteria menu as

1 OPTIONS
2 FORMATTED
3 UNFORMATTED

in that choose 1 and then give

SEQ/VSAM processing direction ===> B (F = Forward; B = Backward)


and

Number of records to select ===> 5

This will select the last 5 records as you specified....

Hope iam right....If there is anything wrong or you have expected something else...please let me know....

Regards
M.Amar Pandian
Back to top
View user's profile Send private message
prabhucs01
Warnings : 1

New User


Joined: 07 Mar 2005
Posts: 43

PostPosted: Wed Apr 27, 2005 9:52 am    Post subject:
Reply with quote

selection criteria Information there are three sub menus like

Selection criteria usage ===>
Selection dataset name ===>
Member name ===>

there is no menus like
1 OPTIONS
2 FORMATTED
3 UNFORMATTED
Back to top
View user's profile Send private message
notonly4u

New User


Joined: 26 Apr 2005
Posts: 87
Location: Hyderabad

PostPosted: Wed Apr 27, 2005 10:01 am    Post subject:
Reply with quote

Dear prabhucs01,

Iam afraid that yu must be new to file aid.

In browse mode after giving the Browse Information, Record Layout information and as yu said

Selection criteria usage ===> T

Press an enter. Then yu'll find the options that amar had specified.

Hope iam right.

Regards
Back to top
View user's profile Send private message
prabhucs01
Warnings : 1

New User


Joined: 07 Mar 2005
Posts: 43

PostPosted: Wed Apr 27, 2005 11:07 am    Post subject:
Reply with quote

thanks mate.i got it...
Back to top
View user's profile Send private message
brain_s390

New User


Joined: 06 May 2005
Posts: 58
Location: Mumbai

PostPosted: Fri May 06, 2005 12:51 am    Post subject: Re: HOW TO SEE THE RECORDS IN TAPE FILE
Reply with quote

Hi Veera,

Regarding your second query :

[color=darkblue] [b] HOW TO SEE THE RECORDS IN TAPE FILE.[/b][/color]

Tape date cant be viewed in ISPF panels.For this purpose you need to dump tape data on DASD using REPRO command.Let me know if you need to know any further details.

-brain_S390
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 2:01 pm    Post subject:
Reply with quote

I just want to ask about this thing..dumping tape file on a dasd doesnt have to do with the number of records? I mean it can handle million of records repro command from tape to dasd?

Thanks
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Jul 10, 2007 2:08 pm    Post subject:
Reply with quote

Madrid,

Quote:
I just want to ask about this thing..dumping tape file on a dasd doesnt have to do with the number of records? I mean it can handle million of records repro command from tape to dasd?

Yes. Provided enough space on dasd.
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 2:11 pm    Post subject:
Reply with quote

What do this mean by "enough".. Is there a way which we could calculate if for example we know the input tape file has a million of records?So Repro would still do?

Thanks.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Tue Jul 10, 2007 6:28 pm    Post subject:
Reply with quote

Hello,

Yes, you can calculate how much dasd your file would require.

What will you do with the "millions" of records once you copy them from tape to dasd? If you want to look at some particular records, use your sort product to copy only those records you are interested in to dasd. If you want to use all of the records, use the tape as input.

Dependng on the size of your records and the number of them, yo may not be able to copy the entire set to dasd.
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us