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

Define acb?

0 Answers  


What is the need for a secondary index in ims?

0 Answers  


What are Twins?

3 Answers  


how do you bind the cobol with db2

0 Answers   Fidelity,


what is the use of ENTRY in IMS?

3 Answers   CGI,






What is a Hierarchy path?

4 Answers  


What are the advantages of a hierarchical database?

0 Answers  


What is acbgen process?

0 Answers  


What is check pointing, sync point?

3 Answers  


Explain the advantage of creating the acbs well ahead of time?

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 dl/i?

0 Answers  


Categories