bdfu1m1oUtilities

ZUDFM OAX-Delete LRECs from a Subfile

Use this command to delete logical records (LRECs) from a subfile.

Requirements and Restrictions

Format




Note:
You can use either the ZUDFM OAX or the ZUDFM DELETE command.

lrecnum
is an LREC to be deleted.

lrecnum-lrecnum
is a particular range of LRECs to be deleted.

lrecnum-LAST
is a range of LRECs to be deleted, beginning from a particular LREC to the last LREC in the subfile.

ALL
specifies all LRECs in a subfile to be deleted.

Additional Information

Examples

In the following examples, the entries corresponding to BROCKER, JACOBS, and TAYLOR are deleted from the subfile that is currently linked. A ZUDFM OA* command is necessary before the entries are deleted to determine the correct sequence numbers for the LRECs that are to be deleted.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OA*                                                               |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805C8                                                           |
|        000001 001080 B  R O C K  E R0000 00345874                              |
|        000002 001080 D  U N N00 00000000 00328065                              |
|        000003 001080 I  N O U Y  E000000 00690794                              |
|        000004 001080 J  A C O B  S000000 00669412                              |
|        000005 001080 J  O N E S 00000000 00789441                              |
|        000006 001080 S  M I T H 00000000 00123456                              |
|        000007 001080 T  A Y L O  R000000 00123964                              |
|        000008 001080 T  H A Y E  R000000 00236348                              |
|        000009 001080 U  N D E R  H I L L 00894350                              |
+--------------------------------------------------------------------------------+

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAX1/4/7                                                          |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805C8                                                           |
|        000001 001080 D  U N N00 00000000 00328065                              |
|        000002 001080 I  N O U Y  E000000 00690794                              |
|        000003 001080 J  O N E S 00000000 00789441                              |
|        000004 001080 S  M I T H 00000000 00123456                              |
|        000005 001080 T  H A Y E  R000000 00236348                              |
|        000006 001080 U  N D E R  H I L L 00894350                              |
+--------------------------------------------------------------------------------+

In the following examples, the LRECs in the second half of the subfile that is currently linked are deleted. A ZUDFM OA* command is necessary before the entries are deleted to determine the correct sequence numbers for the LRECs that are to be deleted.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OA*                                                               |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805C8                                                           |
|        000001 001080 D  U N N00 00000000 00328065                              |
|        000002 001080 I  N O U Y  E000000 00690794                              |
|        000003 001080 J  O N E S 00000000 00789441                              |
|        000004 001080 S  M I T H 00000000 00123456                              |
|        000005 001080 T  H A Y E  R000000 00236348                              |
|        000006 001080 U  N D E R  H I L L 00894350                              |
+--------------------------------------------------------------------------------+

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAX4/LAST                                                         |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805C8                                                           |
|        000001 001080 D  U N N00 00000000 00328065                              |
|        000002 001080 I  N O U Y  E000000 00690794                              |
|        000003 001080 J  O N E S 00000000 00789441                              |
|        000004 001080 T  H A Y E  R000000 00236348                              |
+--------------------------------------------------------------------------------+

In the following examples, two different ranges of LRECs are deleted from the subfile that is currently linked. A ZUDFM OA* command is necessary before the entries are deleted to determine the correct sequence numbers of the LRECs that are to be deleted.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OA*                                                               |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805B0                                                           |
|        000001 001080 B  R O C K  E R0000 00345874                              |
|        000002 001080 D  U N N00 00000000 00328065                              |
|        000003 001080 I  N O U Y  E000000 00690794                              |
|        000004 001080 J  A C O B  S000000 00669412                              |
|        000005 001080 J  O N E S 00000000 00789441                              |
|        000006 001080 S  M I T H 00000000 00123456                              |
|        000007 001080 T  A Y L O  R000000 00123964                              |
|        000008 001080 T  H A Y E  R000000 00236348                              |
|        000009 001080 U  N D E R  H I L L 00894350                              |
+--------------------------------------------------------------------------------+

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAX2-4/7-LAST                                                     |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805B0                                                           |
|        000001 001080 B  R O C K  E R0000 00345874                              |
|        000002 001080 J  O N E S 00000000 00789441                              |
|        000003 001080 S  M I T H 00000000 00123456                              |
+--------------------------------------------------------------------------------+

In the following examples, all the LRECs are deleted in the subfile that is currently linked. A ZUDFM OA* command is used to display the LREC numbers that are going to be deleted.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OA*                                                               |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805B0                                                           |
|        000001 001080 B  R O C K  E R0000 00345874                              |
|        000002 001080 J  O N E S 00000000 00789441                              |
|        000003 001080 S  M I T H 00000000 00123456                              |
+--------------------------------------------------------------------------------+

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAXALL                                                            |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|        F.A. 000805B0                                                           |
+--------------------------------------------------------------------------------+

References

See the following for more information about linking to a subfile: