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 |
Define acb?
What is the need for a secondary index in ims?
What are Twins?
how do you bind the cobol with db2
what is the use of ENTRY in IMS?
What is a Hierarchy path?
What are the advantages of a hierarchical database?
What is acbgen process?
What is check pointing, sync point?
Explain the advantage of creating the acbs well ahead of time?
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.
What is dl/i?