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



Can a variable length segment be declared in IMS? If yes, what is the structure; If no, why?..

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

Can a variable length segment be declared in IMS? If yes, what is the structure; If no, why?..

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

Post New Answer

More IMS Interview Questions

What is acbgen process?

0 Answers  


What is batch dl/i mode?

0 Answers  


What information does a psb contain?

0 Answers  


What type of pointers should you specify on the root segment of a HIDAM DB to improve sequential processing?

2 Answers  


What do you know about DBD gen?

4 Answers  






Which DB access method (OSAM or VSAM) is used for primary index or secondary index and why?

1 Answers  


What are qualified and unqualified SSA's.

2 Answers  


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

1 Answers   Accenture,


What do you know about MFS?

2 Answers  


What are the special considerations of the PROCOPT field based on the type of operation your program performs

3 Answers  


Which DB access method (OSAM or VSAM) is better and why?

4 Answers  


What is multi positioning ?

3 Answers  


Categories