I have a PSB which contains 3 PCB, how to write it ?
please..

Answers were Sorted based on User's Feedback



I have a PSB which contains 3 PCB, how to write it ? please....

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

I have a PSB which contains 3 PCB, how to write it ? please....

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

I have a PSB which contains 3 PCB, how to write it ? please....

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

I have a PSB which contains 3 PCB, how to write it ? please....

Answer / sneha

PCB TYPE=DB,
DATABASE=XXDB,
PROCOPT=PA,
KEYLEN=27,
POS=S
SENSEG NAME=XXDB1,
PARENT=0
SENSEG NAME=XXDB2,
PARENT=XXDB1
PSBGEN LANG=PL/I,
PSBNAME=XCXCPS
END

Is This Answer Correct ?    3 Yes 9 No

I have a PSB which contains 3 PCB, how to write it ? please....

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

Post New Answer

More IMS Interview Questions

What do you know about MFS?

2 Answers  


What are the ways to mapping external control block? a. ENTRY b. PROCEDURE DIVISION USING c. CALL ‘DLITCBL’ d. ALL ABOVE e. A & B

4 Answers   EDS,


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

1 Answers   IBM,


How does one reorg an HDAM IMS database when changing RAPS (Root Anchor Points)?

2 Answers  


What is secondary indexing?

4 Answers  






Can we use procopt on pcb and segment field (senseg)?

0 Answers  


What information does a psb contain?

0 Answers  


how do you invoke an IMS screen (coded in COOOLGEN) from a MQ transaction..... help plz?????

0 Answers   Syntel,


Explain the disadvantage of dynamic generation of acb?

0 Answers  


Is it necessary that the key field in a Dl/I database be unique?

1 Answers  


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.

1 Answers   IBM, John Deere,


Is it necessary that all the segments in a Dl/i database have key fields ?

2 Answers  


Categories