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

Understanding the Xref concepts


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
EnjoyMF

New User


Joined: 27 May 2005
Posts: 88

PostPosted: Tue Jan 24, 2006 12:14 pm
Reply with quote

Hi guys

i was asked in an intereview that if i have 10 recordlayout's how can i use them in Fileaid



Can some one plz help me in understanding the Xref concepts,if possible plz kindly put Xref Screen Shots as they would be of more helpfull


Cheers
Prasad
Back to top
View user's profile Send private message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Wed Jan 25, 2006 11:54 am
Reply with quote

all 10 records have one common field which identifies the record type and in which layout it should show.

you set that field value in xref. for each record layout .

file-aid automatically show each record in perticular layout.

it is possible in 'fmt' only .. not in 'vfmt'
Back to top
View user's profile Send private message
NarmadhaVasanth

New User


Joined: 18 Oct 2005
Posts: 3
Location: India

PostPosted: Wed Jan 25, 2006 2:14 pm
Reply with quote

Hi Prasad,

you have to set a base for each of the record layouts(ie., a default value has to be given for one variable in the record layout). Say you have 10 record layouts, you have to set bases for each of them separately.

In the example attached, I've 3 record layouts and I set base for each of them.

Regards
Narmadha
Back to top
View user's profile Send private message
Megalai

New User


Joined: 13 Jan 2006
Posts: 16

PostPosted: Wed Jan 25, 2006 2:48 pm
Reply with quote

Hi Narmadha,

How to get into the screen u have mentioned?

i have entered into Option 7--XREF.

when i enter i am getting the foll screen only.

Specify Cross Reference Dataset to be Created or Edited:
XREF dataset name ==
Member name ===> (Blank or pattern for member list)

Specify Record Layout Information:
Record layout dataset ===>

So can u please explain me in detail? bcoz i don't know abt this option.

Thanks,
Mm.
Back to top
View user's profile Send private message
NarmadhaVasanth

New User


Joined: 18 Oct 2005
Posts: 3
Location: India

PostPosted: Wed Jan 25, 2006 5:14 pm
Reply with quote

Dear Megalai,

yeah u r right, u'll get the screen that asks for the record layout dataset and XREF member for the same. If you are creating an XREF for a record layout for the first time, then provide the dataset name in which your record layout member resides in the following option
Specify Record Layout Information:
Record layout dataset ===>

You have to provide the dataset in which u need the XREF to be created in the following option
Specify Cross Reference Dataset to be Created or Edited:
XREF dataset name ==
Member name ===> (Blank or pattern for member list)

Give any member name against the Member name option. The XREF for the record layout is created in this member. You can view the XREF member once it is created inside the XREF dataset name you provided.

In my previous example, I assumed that the xref is already created and I just set base for the different record layouts.

Regards
Narmadha
Back to top
View user's profile Send private message
EnjoyMF

New User


Joined: 27 May 2005
Posts: 88

PostPosted: Wed Jan 25, 2006 6:07 pm
Reply with quote

Hi Narmadha

This helps me a lot
Thanks for Help



Regards
PRasad
Back to top
View user's profile Send private message
Megalai

New User


Joined: 13 Jan 2006
Posts: 16

PostPosted: Wed Jan 25, 2006 6:21 pm
Reply with quote

Hi Narmadha,

Thanks for ur reply.

Thanks,
Megalai.
Back to top
View user's profile Send private message
Rajesh_reddy

New User


Joined: 03 Feb 2006
Posts: 2

PostPosted: Fri Feb 03, 2006 10:46 pm
Reply with quote

NarmadhaVasanth wrote:
Dear Megalai,

yeah u r right, u'll get the screen that asks for the record layout dataset and XREF member for the same. If you are creating an XREF for a record layout for the first time, then provide the dataset name in which your record layout member resides in the following option
Specify Record Layout Information:
Record layout dataset ===>

You have to provide the dataset in which u need the XREF to be created in the following option
Specify Cross Reference Dataset to be Created or Edited:
XREF dataset name ==
Member name ===> (Blank or pattern for member list)

Give any member name against the Member name option. The XREF for the record layout is created in this member. You can view the XREF member once it is created inside the XREF dataset name you provided.

In my previous example, I assumed that the xref is already created and I just set base for the different record layouts.

Regards
Narmadha
Back to top
View user's profile Send private message
Rajesh_reddy

New User


Joined: 03 Feb 2006
Posts: 2

PostPosted: Fri Feb 03, 2006 10:48 pm
Reply with quote

Wow........what a solution.......great....narmadha...really great
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Need Help in understanding what is th... PL/I & Assembler 9
No new posts Assembler "global" XREF tool PL/I & Assembler 6
No new posts Understanding Program Objects All Other Mainframe Topics 5
No new posts Need Help on the understanding of the... PL/I & Assembler 3
No new posts Understanding Syncpoint : CICS 3
Search our Forums:

Back to Top