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 a key field in an IMS database?
An application programmer comes to you and says your DB is no good, they got an II status code on an insert call from IMS, is this a DB problem?
What is mpp mode?
What is hierarchical database?
Explain the maximum number of fields allowed per segment and what is the maximum number of fields per database?
How we can see the Data in IMS Database?
What is the maximum number of levels allowed in ims db?
What information does a psb contain?
Define ims (db/dc)?
What is dbms in ims?
What information does a dbd contain?
What are the ways to mapping external control block? a. ENTRY b. PROCEDURE DIVISION USING c. CALL ‘DLITCBL’ d. ALL ABOVE e. A & B