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

create xref using multiple copybooks for different rec types


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

New User


Joined: 06 Dec 2005
Posts: 1

PostPosted: Tue Dec 06, 2005 7:11 pm
Reply with quote

I have a file that contains multiple record types, depending on the first 2 characters of the record. I know it's possible to create a layout in File-Aid to view these record types in their respective layouts, but I'm not sure how to do it.

For Example:

File:
AA123443544
BB8NAME
CC879900

I have a copybook that has several redefines. Each record type is the same length, but there is a layout for the 'AA' record, the 'BB' record and the 'CC' record. I want to be able to bring up the file containing all these record types & map it using file aid. I know file-aid can look at the record types & reference the correct layout. Can anyone help me figure out how to set this up?
Back to top
View user's profile Send private message
itsme

New User


Joined: 06 Dec 2005
Posts: 1
Location: india

PostPosted: Wed Dec 07, 2005 2:22 pm
Reply with quote

To browse a file using different record layouts simultaneously use XREF.in fileaid .initially create XREF and keep adding the the record layouts that u would like to browse for a file under that XREF member and also specify the key by which each copybook should be referenced
Back to top
View user's profile Send private message
lalitha_gld

New User


Joined: 12 Jul 2006
Posts: 24

PostPosted: Wed Sep 19, 2007 2:22 pm
Reply with quote

Hi,

I'm also looking out for a way to create such a XREF dataset for my file, which has various record types. Is there a option in Fileaid/MVS for creating this XREF dataset.

Please let me know.

Regards,
Lalitha.
Back to top
View user's profile Send private message
ram.prabhu

New User


Joined: 12 Sep 2007
Posts: 3
Location: chennai

PostPosted: Mon Sep 24, 2007 10:49 am
Reply with quote

Hi,

In the File-Aid Select option 7 ( XREF).. Before that Create a Datsset and Members within that for the different File Layout... Within that option 7 give the Dataset name and if you wanna give a Single Copybook give the Memner Name and if you want to give multiple Copyooks give *against the Member name...
Back to top
View user's profile Send private message
hariibm

New User


Joined: 05 Feb 2007
Posts: 61
Location: Chennai

PostPosted: Fri Oct 19, 2007 1:35 pm
Reply with quote

Hi All,
Please suggest what can be the attributes of the XREF dataset.
I created a PDS with format F and length 100, and when I tried to work on it using option 7 of FILE-AID, it gave me an error "INVALID ATTRIBUTES".
Please advise.

Thanks,
Hari.
Back to top
View user's profile Send private message
vinay ng
Currently Banned

New User


Joined: 30 May 2008
Posts: 13
Location: Mumbai

PostPosted: Wed Jun 04, 2008 3:23 pm
Reply with quote

i Guess you should create PDS with record format as 'V'
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top