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 limitation on the no. of levels in a DL/I database?
What are common status codes that you come across?
What do you mean by hierarchical database?
What is a Root?
What for procopt is used? List some of them?
What is the difference between HDAM & HIDAM DB types and when would you use each?
What is a Hierarchy path?
Explain the maximum number of levels allowed in ims db?
What is Program Isolation?
what are the control blocks in IMS ?
which is the first statement in COBOL-IMS programs?
What is difference between concurrent image copy and online image copy?