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

Define the terms Parent & Child.

3 Answers  


What are qualified and unqualified SSA's.

2 Answers  


What is Program Isolation?

1 Answers  


How do you write a PSB code ?

3 Answers  


When do you do Build DBD, PSB for making changes in ACBLIB?

1 Answers  






What is the maximum number of segment types allowed for a single database?

0 Answers  


What is meant by batch dl/i mode?

0 Answers  


Define pcb?

0 Answers  


What is the need for a secondary index in ims?

0 Answers  


What for procopt is used? List some of them?

3 Answers   TCS, Wipro,


An application programmer comes to you and says your DB is no good, they got an II status code on an insert call from IMS, is this a DB problem?

2 Answers  


What is difference between concurrent image copy and online image copy?

1 Answers   EDS,


Categories