How do you write a PSB code ?
Answers were Sorted based on User's Feedback
Answer / techy
* MADE UP OF ONE OR MORE PROGRAM COMMUNICATION BLOCKS (PCBs)
* DB PCB - DEFINES PROGRAM’S VIEW OF A IMS DATABASE
* WHENEVER A DATABASE VIEW DEFINED BY THE PCB IS ACCESSED
BY A CALL, THE RESULTS OF CALL ARE PASSED THROUGH THE PCB
TO PROGRAM
* PSB IS GENERATED BY PSBGEN MACRO
* PCB GIVES LOGICAL VIEW OF A DATABASE
* PORTION OF DATABASE THAT THE PROGRAM PROCESSES IS CALLED
APPLICATION DATA STRUCTURE
Sample PSBGEN
PRINT NOGEN
PCB TYPE=DB,DBDNAME=database-name,KEYLEN=20,PROCOPT=LS
SENSEG NAME=seg-name
SENSEG NAME=field-name,PARENT=seg-name
PSBGEN
END
KEYLEN IS THE LENGTH OF CONCATENATED KEY
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ragahvendra
PSBs are generated by DBA. A PSB contains macro instrucions
and a job is submitted to generate the PSB in a pre
determined PDS.
| Is This Answer Correct ? | 2 Yes | 4 No |
What is the maximum of key fields and search fields allowed in a segment?
What is dbdgen process?
What is the advantage of dynamic generation of acb?
Is it necessary that the key field in a Dl/I database be unique?
how do you bind the cobol with db2
What are all the possible inputs to the DB recovery utility?
Define the terms Parent & Child.
Which is the DL/I function used in CICS-IMS program? IBM
What is mpp mode?
Explain acbgen process?
which is the first statement in COBOL-IMS programs?
Can we use procopt on pcb and segment field (senseg)?