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 mean by hierarchical database?
Which DB access method (OSAM or VSAM) is better and why?
what are the control blocks in IMS ?
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.
Explain acbgen process?
What is a key field in an IMS database?
What are the main control blocks available in ims db?
I have PCB with structure: PCB TYPE=DB, C DBDNAME=EMPCADBD, C KEYLEN=18, C PROCOPT=LS SENSEG NAME=EMPLOYEE, C PARENT=0 SENSEG NAME=COMPDTL, C PARENT=EMPLOYEE SENSEG NAME=BANKDTL, C PARENT=COMPDTL SENSEG NAME=SALDTLS, C PARENT=BANKDTL SENSEG NAME=EDUCDATA, C PARENT=EMPLOYEE SENSEG NAME=EMERDETL, C PARENT=EDUCDATA SENSEG NAME=ADDRESS, C PARENT=EMPLOYEE ************************************************************ *********** PSBGEN PSBNAME=PSBCALDP,LANG=COBOL END Requirement is to Create a report based on Salary brackets. ( Use SSA’s for logic) · It should have CTCGROSS brackets and No of employees o Employee names falling in each bracket Salary < 100,000 No of Employees Employee-Name Level 100,000 < Salary < 300,000 No of Employees Employee-Name Level 300,000 < Salary No of Employees Employee-Name Level
Explain the maximum number of segment types allowed for a single database?
What is the maximum number of fields allowed per segment and what is the maximum number of fields per database?
What information does a psb contain?
What are common DLI functions?