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
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 |
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 |
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 |
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 |
What are the valid recovery points?
Define dl/i?
15. Secondary indexes can be used with following databases a. HSAM,HISAM,HIDAM b. HIDAM, HISAM c. HDAM, HISAM, HIDAM d. All the above
Which DB access method (OSAM or VSAM) is better and why?
What is a key field in an IMS database?
What for procopt is used? List some of them?
What is the limitation on the no. of levels in a DL/I database?
What are common DLI functions?
Is it necessary that the key field in a Dl/I database be unique?
What is a Hierarchy path?
Write the format of program starting from identification division for checkpoint restart logic.
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