Can we give the GSAM-PCB in between the DB-PCB'S like below?
I/O-PCB

DB-PCB1

GSAM-PCB1

GSAM-PCB2

DB-PCB2


Answers were Sorted based on User's Feedback



Can we give the GSAM-PCB in between the DB-PCB'S like below? I/O-PCB DB-PCB1 GSAM-PCB1 ..

Answer / sneha

its possible to give GSAM PCB in between DB-PCBs-
The following is the example-
PRINT NOGEN
PCB TYPE=DB,
DATABASE=XXXDB,
PROCOPT=PA,
KEYLEN=27
SENSEG NAME=XXXDB1,
PARENT=0
PCB TYPE=GSAM
DBDNAME=XXXG,
PROCOPT=L
PCB TYPE=GSAM
DBDNAME=XXXG1,
PROCOPT=L
PCB TYPE=DB
DBDNAME=XXDB2,
PROCOPT=PA,
KEYLEN=17

PSBGEN LANG=PL/I,
PSBNAME=JDHSJDH,
CMPAT=YES,
OLIC=NO
END

END

Is This Answer Correct ?    6 Yes 0 No

Can we give the GSAM-PCB in between the DB-PCB'S like below? I/O-PCB DB-PCB1 GSAM-PCB1 ..

Answer / jijodejames

A small correction for Answer #3. Order of declaration in
PSB and Procuedure division USING statements need only be
matching. Linkage section declaration of PCB-Mask can be of
any order.

Is This Answer Correct ?    6 Yes 0 No

Can we give the GSAM-PCB in between the DB-PCB'S like below? I/O-PCB DB-PCB1 GSAM-PCB1 ..

Answer / raj

yes. We can give , but the order should be same as what we
used while creating PSB.

Is This Answer Correct ?    4 Yes 1 No

Can we give the GSAM-PCB in between the DB-PCB'S like below? I/O-PCB DB-PCB1 GSAM-PCB1 ..

Answer / jaganathan

One more point to add to sneha's answer is that , we need
to define the PCB in same order in the LINKAGE SECTION and
in the PROCEDURE DIVISION USING < Parameter List >
Correct in case i am wrong.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More IMS Interview Questions

Portfolio analysis application is an example of?

0 Answers  


What is secondary indexing?

4 Answers  


What is a Hierarchy path?

4 Answers  


Explain the maximum of key fields and search fields allowed in a segment?

0 Answers  


What is the difference between HDAM & HIDAM DB types and when would you use each?

1 Answers  






Explain the disadvantage of dynamic generation of acb?

0 Answers  


what are the control blocks in IMS ?

3 Answers  


What is the physical nature of a database called?

2 Answers  


Explain the maximum number of fields allowed per segment and what is the maximum number of fields per database?

0 Answers  


What is mpp mode?

0 Answers  


My IMS main progam is calling Db2 subroutine ...Its giving - 923 db2 sql code..so could any one tell how to solve this issue.

0 Answers   Cap Gemini,


What is a Root?

3 Answers  


Categories