Multiple choice technology databases

GHU SUPPLIER*D(SUPPLRNO=10) PARTSIZE*DN What does IMS do if you use the D and N command codes together as illustrated in the sample code above?

  1. The segment is retrieved, but is not replaced.

  2. The N command code applies only to ISRT calls

  3. An error is raised.

  4. The command code N is ignored.

  5. The segment is retrieved and is replaced.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The D command code retrieves a segment, and N suppresses replacement. When used together (DN), the segment is retrieved but the replace operation is suppressed. This is useful when you want to get a segment without modifying it. Option A correctly describes this behavior. The N command code is not limited to ISRT (option B is wrong), no error is raised (C is wrong), and the code is not ignored (D is wrong).