How do you write a PSB code ?

Answers were Sorted based on User's Feedback



How do you write a PSB code ?..

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

How do you write a PSB code ?..

Answer / shriram

Actually its the responsibility of administrator.
But if the admin rights are given to your ID then you can
code it using the other PSB definitions,but you must inform
support team before moving the same to production.

Is This Answer Correct ?    5 Yes 1 No

How do you write a PSB code ?..

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

Post New Answer

More IMS Interview Questions

Which is the DL/I function used in CICS-IMS program? IBM

3 Answers   IBM,


How does one reorg an HDAM IMS database when changing RAPS (Root Anchor Points)?

2 Answers  


What is the maximum number of pcbs allowed in a psb?

0 Answers  


What is meant by bmp mode?

0 Answers  


What is the physical nature of a database called?

2 Answers  






Explain the advantage of dynamic generation of acb?

0 Answers  


how do you bind the cobol with db2

0 Answers   Fidelity,


What are all the possible inputs to the DB recovery utility?

1 Answers  


In the RECON, what always sets the IC NEEDED flag on for a registered DB?

3 Answers  


What is hierarchical database?

0 Answers  


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.

1 Answers   IBM, John Deere,


What is dbms in ims?

0 Answers  


Categories