How to write the PCB code ? if in thic PCB i have 3 PSB ?
Answers were Sorted based on User's Feedback
Answer / lu
you're wrong....How to write 1 PSB, if i have 3 PCB ....
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / devendar nandi
Its very simple write one by one. But map them from your
application program in the order same as in your PSB.
Eg: If my PSB is like
PCB1 PCB TYPE=DB....
SENSEG NAME=...
SENSEG NAME=...
PCB2 PCB ...
SENSEG NAME=...
SENSEG NAME=...
PCB3 PCB ...
SENSEG NAME=...
SENSEG NAME=...
PSBGEN LANG=COBOL, PSBNAME=EXAMPLE
Mapping in application program should be like
ENTRY DLITCBL USING PCB1,PCB2,PCB3
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / saranyah shanmugam
1 PSB will have n no of PCB.
code for pcb:
EX:
PCB TYPE=DB,DBDNAME=WGMGRPDB,KEYLEN=200,PROCOPT=AP,
where: Data base name,keylen and process option
after this segment and the corresponding parent has to be
desp
SENSEG NAME=WGMGRPR,PARENT=0
| Is This Answer Correct ? | 2 Yes | 1 No |
What is the disadvantage of dynamic generation of acb?
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
What are the parameters used in CBLTDLI call?
What does the Change Accum do?
What are the two ways in which dl/i interface can be invoked?
What is the maximum number of pcbs allowed in a psb?
Explain ims software environment?
What is the difference between HDAM & HIDAM DB types and when would you use each?
What is bmp mode?
I have a PSB which contains 3 PCB, how to write it ? please..
how do you bind the cobol with db2
Define dl/i?