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

How to see the records in a Tape file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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
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
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

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 2:01 pm
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: 1436
Location: Bangalore,India

PostPosted: Tue Jul 10, 2007 2:08 pm
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

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 2:11 pm
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

Moderator Emeritus


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

PostPosted: Tue Jul 10, 2007 6:28 pm
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts Sort SMF records? SYNCSORT 6
Search our Forums:


Back to Top