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 |
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
How to write the PCB code ? if in thic PCB i have 3 PSB ?
Which command code can be used for backing up IMS database?
What is dbd?
What is hierarchical database?
What is the advantage of creating the acbs well ahead of time?
What are the ways to mapping external control block? a. ENTRY b. PROCEDURE DIVISION USING c. CALL ‘DLITCBL’ d. ALL ABOVE e. A & B
What is the return code you get after a successful IMS call?
which is the first statement in COBOL-IMS programs?
What is the difference between HDAM & HIDAM DB types and when would you use each?
Looking for mainframes IMS DB training @ 9912598882
What is difference between concurrent image copy and online image copy?