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 disadvantage of dynamic generation of acb?

0 Answers  


Which DB access method (OSAM or VSAM) is used for primary index or secondary index and why?

1 Answers  


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

0 Answers  


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

0 Answers  


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

4 Answers   IBM,






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

2 Answers  


DLI Vs BMP

13 Answers   CTS, IBM,


what is the use of ENTRY in IMS?

3 Answers   CGI,


I have database, in that segment1 having dept code and segment 2 and so on multiple employees num. using dept & employee num we have to compare whether that employee belong to that dept or not, if that employee belongs to that dept then incentive is same same as in the table or else incentive must be zero? using IMS & cobol

1 Answers   IBM,


What type of pointers should you specify on the root segment of a HIDAM DB to improve sequential processing?

2 Answers  


What are the valid recovery points?

1 Answers  


which is the first statement in COBOL-IMS programs?

2 Answers   Ford, IBM,


Categories