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 |
Explain the disadvantage of dynamic generation of acb?
Explain dbdgen process?
what is the use of ENTRY in IMS?
What do you know about DBD gen?
I found some good questions/answers regarding IMS here:
What do you mean by hierarchical database?
What are qualified and unqualified SSA's.
What are the command codes and their purposes?
What type of pointers should you specify on the root segment of a HIDAM DB to improve sequential processing?
how do you bind the cobol with db2
What are the advantages of a hierarchical database?
Can a variable length segment be declared in IMS? If yes, what is the structure; If no, why?