I have a PSB which contains 3 PCB, how to write it ?
please..
Answers were Sorted based on User's Feedback
Answer / ranjeet
PCB TYPE=DB,
DBDNAME=SAMPLDBD,
PROCOPT=GOT,
KEYLEN=99
SENSEG NAME=PARENT1
SENSEG NAME=CHILD1,PARENT=PARENT1
.
.
.
.
.
.
PSBGEN PSBNAME=PSB00001,
LANG=COBOL
END
Is This Answer Correct ? | 12 Yes | 7 No |
Answer / jahan
*WE HAD 3 PCB
1. ORGN(ORGANIZATION)
2.DEPT(DEPARTMENT)
3.EMP(EMPLOYEE)
--------------------
PRINT NOGEN
PCB TYPE=DB,
NAME=ORGNDBD,
PROCOPT=GOT,
KEYLEN=10,
POS=S,
PCBNAME=PCB0001
SENSEG NAME=ORGNSEG, PARENT=0
SENSEG NAME=DEPTSENG, PARENT=ORGNSEG,PROCOPT=G
SENSEG NAME=SEMPSEG, PARENT=DEPTSENG
PSBGEN PSBNAME=ORGNPROG,
LANG=COBOL,
CMPAT=YES,
IOEROPN=(451,WTOR)
END
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vijay
*WE HAD 3 PCB
1. ORGN(ORGANIZATION)
2.DEPT(DEPARTMENT)
3.EMP(EMPLOYEE)
SYNTAX:-
PRINT NOGEN
PCB TYPE=DB,
DBDNAME=ORGNDBD,
PROCOPT=A,
KEYLEN=18,
POS=S
SENSEG NAME=ORGNSEG,PARENT=0
SENSEG NAME=DEPTSEG,PARENT=ORGNSEG
SENSEG NAME=EMPSEG,PARENT=DEPTSEG
PSBGEN PSBNAME=ORGNPROG,LANG=COBOL,CMPAT=Y
END
Is This Answer Correct ? | 9 Yes | 11 No |
Answer / kiran
PCB TYPE=DB,DBDGEN= SAMPDBD,KEYLEN=15,PROCOPT=G,
SENSEG NAME = ACCACCP1
SENSEG NAME = ACCDETP1,PARENT= ACCACCP1
.
.
.
PSBGEN
Is This Answer Correct ? | 3 Yes | 10 No |
What do you know about MFS?
What are the ways to mapping external control block? a. ENTRY b. PROCEDURE DIVISION USING c. CALL ‘DLITCBL’ d. ALL ABOVE e. A & B
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 does one reorg an HDAM IMS database when changing RAPS (Root Anchor Points)?
What is secondary indexing?
Can we use procopt on pcb and segment field (senseg)?
What information does a psb contain?
how do you invoke an IMS screen (coded in COOOLGEN) from a MQ transaction..... help plz?????
Explain the disadvantage of dynamic generation of acb?
Is it necessary that the key field in a Dl/I database be unique?
This question regarding Checkpoint. Suppose my program has checkpoint for every 100 records. If my program abends at 120 records, what will happen. I know first 100 records are committed and rest of 20 records where they gone and where they are stored.
Is it necessary that all the segments in a Dl/i database have key fields ?