INTERVIEW QUESTIONS
MAINFRAME
IMS
DETAILS
Question: What for procopt is used? List some of them?
Answer: Procopt parameter specifies PROCESSING OPTIONS that define the type of processing that can be performed on a segment. ex: K, G, L, LS, A ,AS, I, IS. procopt=k---means , the segment is key sensitive procopt=g- the segment is data sensitive (like read only) L- Load mode , means we can load data base from scratch A- Get, Insert, Delete, Replace- means it allows the program to issue all those calls I-insert mode. That means only insert calls with insert mode can be issued
|
Question:
What for procopt is used? List some of them?
Answer:
Procopt parameter specifies PROCESSING OPTIONS that define the type of processing that can be performed on a segment. ex: K, G, L, LS, A ,AS, I, IS. procopt=k---means , the segment is key sensitive procopt=g- the segment is data sensitive (like read only) L- Load mode , means we can load data base from scratch A- Get, Insert, Delete, Replace- means it allows the program to issue all those calls I-insert mode. That means only insert calls with insert mode can be issued Source: CoolInterview.com
ANS:PROCOPT parameter can be coded with PSB control block.It specifies what processing should be done to the segment.It can be applicable to the whole database aswelas to a particular segment type.Basic procopts are as follows: G read only R replace, includes G I insert D delete, includes G A get and update, includes G, R, I, D K used on SENSEG statement; program will have key-only sensitivity to this segment L load database Secondary PROCOPT codes are as follows: E exclusive use of hierarchy or segments O get only, does not lock data when in use P must be used if program will issue path call using the D command code S sequential (LS is required to load HISAM and HIDAM databases; GS gets in ascending sequence) Source: CoolInterview.com
Answered by: omkar panda | Date: 4/15/2009
| Contact omkar panda
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|