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
 

 

SOME BASIC QUESTIONS AND MESSY DOUBTS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Tue Feb 23, 2010 5:20 pm    Post subject: SOME BASIC QUESTIONS AND MESSY DOUBTS
Reply with quote

1) I understand what is a GDA,LDA and PDA.But sometimes i had been asked confusing questions.In which all entities they can be defined and used.
Can someone please repeat it.That in Programs,Subprograms,Subroutines(inline- External),Copycodes. Where all we can define them,use them.
Please correct my question if it is wrong.

2) Locking of adabas file and records in case of Read and Find.And how does a Find- get combination let us get better result than read -get.Or this statement is just conditional.
Can someone please elaborate the answer in term of database side activities.

Thats all for now.

Thanks in Advance.
Back to top
View user's profile Send private message

Steve Robinson

New User


Joined: 14 Nov 2009
Posts: 12
Location: U.S.

PostPosted: Tue Feb 23, 2010 7:23 pm    Post subject:
Reply with quote

First question:

Programs can have GDA and LDA; no PDA

Subprograms can have PDA, LDA, and GDA. HOWEVER, a GDA in a subprogram creates a new instance of a GDA. Thus a program cannot share a GDA with a subprogram it CALLNATs.

External subroutines can have all three. Unlike a subprogram, an external subroutine can share a GDA with an object that PERFORMs it.

Internal subroutines do not "have" any GDA, LDA, or PDA. The objects they are in (e.g. programs, subprograms, etc) possess them.

The same is true for Copycode.

Second question:

FIND-GET versus READ-GET makes no sense as far as a performance comparison (which I presume is what you mean by "better result". FIND versus READ (w/wo updates/gets) is a lengthy topic. It involves MultiFetch, TO versus ENDING AT, number of records that satisfy a criteria, etc.

steve
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 -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am
No new posts File Aid DB2 Questions niks_jude Mainframe Interview Questions 1 Mon Aug 24, 2015 5:13 pm


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