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

Explain the maximum number of pcbs allowed in a psb?

0 Answers  


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

0 Answers  


Which is the DL/I function used in CICS-IMS program? IBM

3 Answers   IBM,


Portfolio analysis application is an example of?

0 Answers  


What are the two types of fields available in ims db?

0 Answers  






What are qualified and unqualified SSA's.

2 Answers  


What is an ims database?

0 Answers  


Define psb?

0 Answers  


What is the limitation on the no. of levels in a DL/I database?

2 Answers  


What is the physical nature of a database called?

2 Answers  


How many sgment types can u have in a DL/I database?

4 Answers  


What is acbgen process?

0 Answers  


Categories