View previous topic :: View next topic
|
Author |
Message |
veera Warnings : 1 New User
Joined: 24 Nov 2004 Posts: 20 Location: chennai
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
amarpandian
New User
Joined: 07 Mar 2005 Posts: 2 Location: Hyderabad
|
|
|
|
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 |
|
|
prabhucs01 Warnings : 1 New User
Joined: 07 Mar 2005 Posts: 43
|
|
|
|
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 |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
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 |
|
|
prabhucs01 Warnings : 1 New User
Joined: 07 Mar 2005 Posts: 43
|
|
|
|
thanks mate.i got it... |
|
Back to top |
|
|
brain_s390
New User
Joined: 06 May 2005 Posts: 58 Location: Mumbai
|
|
|
|
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 |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|