Interview Questions

How do you delete Item 3 in a five-item TSQ?

CICS Interview Questions


(Continued from previous question...)

How do you delete Item 3 in a five-item TSQ?

You can't at least not directly. Options, none of them good, inlude:
I. adding a logical-delete flag to the contents of each item;
II. moving item 4 to 3 and 5 to 4 and initializing item 5, all thru rewrites; this is a variant on 1;
III. Creating a new 'copy' TSQ that excludes the unwanted item, killing the old TSQ (deleteq ts). writing the new TSQ with the original name from the new TSQ, and then deleting the 'copy' TSQ. This way, you will get an accurate report from NUMITEMS.

(Continued on next question...)

Other Interview Questions