Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Understanding the Xref concepts

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Understanding the Xref concepts
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    Post subject: Xref
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    Post subject: Re: Xref
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    Post subject: Re: Xref
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    Post subject:
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    Post subject:
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    Post subject: Re: Xref
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    Post subject: thanks a lot from kothy
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need Help in understanding what is th... mainakdalal PL/I & Assembler 9 Mon Oct 03, 2016 8:03 pm
No new posts Assembler "global" XREF tool steve-myers PL/I & Assembler 6 Thu Jul 30, 2015 11:07 am
No new posts Understanding Program Objects jerryte All Other Mainframe Topics 5 Tue Apr 14, 2015 12:53 am
No new posts Need Help on the understanding of the... ashim prodhan PL/I & Assembler 3 Mon Feb 17, 2014 7:55 pm
No new posts Understanding Syncpoint : sreelu.s CICS 3 Sat Jul 13, 2013 1:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us