Can a variable length segment be declared in IMS? If yes,
what is the structure; If no, why?
Answers were Sorted based on User's Feedback
Answer / guest
Yes.
The first field should contain the segment length and then
we can have the variable lenth field at the end.
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / gopal
seglen= maximum length of the variable segment you need to
mention in the dbd segment defination along with seg name .
| Is This Answer Correct ? | 6 Yes | 0 No |
I have PCB with structure: PCB TYPE=DB, C DBDNAME=EMPCADBD, C KEYLEN=18, C PROCOPT=LS SENSEG NAME=EMPLOYEE, C PARENT=0 SENSEG NAME=COMPDTL, C PARENT=EMPLOYEE SENSEG NAME=BANKDTL, C PARENT=COMPDTL SENSEG NAME=SALDTLS, C PARENT=BANKDTL SENSEG NAME=EDUCDATA, C PARENT=EMPLOYEE SENSEG NAME=EMERDETL, C PARENT=EDUCDATA SENSEG NAME=ADDRESS, C PARENT=EMPLOYEE ************************************************************ *********** PSBGEN PSBNAME=PSBCALDP,LANG=COBOL END Requirement is to Create a report based on Salary brackets. ( Use SSA’s for logic) · It should have CTCGROSS brackets and No of employees o Employee names falling in each bracket Salary < 100,000 No of Employees Employee-Name Level 100,000 < Salary < 300,000 No of Employees Employee-Name Level 300,000 < Salary No of Employees Employee-Name Level
What is the maximum number of levels allowed in ims db?
What type of pointers should you specify on the root segment of a HIDAM DB to improve sequential processing?
What does the Change Accum do?
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 a segment?
I am totally confused on IMS message segments. When I create a message and it contains 5 segments does the entire message have a 32k limit or does each segment have a 32k limit? Is there a setting in the stage1 sys gen that defines if a transaction can receive/send multi-segmented messages?
what are the control blocks in IMS ?
How many root segments do we have per database record?
What is difference between concurrent image copy and online image copy?
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.
which is the first statement in COBOL-IMS programs?