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

File-Aid-how to see 2 fields(10-20 & 980-1000) side-by-s


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lara

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Wed May 31, 2006 5:14 pm
Reply with quote

Is there a way to view 2 fields - one field occupies 10-20 bytes and another one occupies 980-1000 bytes in record structure of a VSAM file, side-by-side in FIle-Aid ?

Code:
01  Rec.
   05 Filler    pic x(10).
   05 Name      pic x(10).
   05 Details   pic x(960).
   05 Salary    pic x(20).


I want to view in File-Aid as such:

Code:
Name       Salary
abcd       20000
xyz        10000
Back to top
View user's profile Send private message
ranga_subham

New User


Joined: 01 Jul 2005
Posts: 51

PostPosted: Thu Jun 01, 2006 9:40 am
Reply with quote

use display command for this.

you can say display field1 field2 only

HTH.
Back to top
View user's profile Send private message
ranga_subham

New User


Joined: 01 Jul 2005
Posts: 51

PostPosted: Thu Jun 01, 2006 9:42 am
Reply with quote

one more thing is enter in Vertical Format mode to see the fields side by side. Ok.

HTH.
Back to top
View user's profile Send private message
kousalya26

New User


Joined: 06 Jul 2005
Posts: 21
Location: chennai

PostPosted: Fri Jun 02, 2006 3:52 am
Reply with quote

Lara,
Also u can use "HOLD" in the command line and then choose the fields u want to hide/hold from your view.this is useful if the file has many fields.

Thanks & Regards,
kousalya
Back to top
View user's profile Send private message
prasanth_thavva

New User


Joined: 28 Jul 2005
Posts: 86
Location: Chennai

PostPosted: Sun Jun 25, 2006 6:48 pm
Reply with quote

hi Kosalya,

How to reset the file after applying Hold command.
what is the syntax..that means H 1-10 will work.whether it hides the data in a file

Thanks&Regards,
Venkata Prasanth
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top