File Utility Primary Commands
Related topics
This section summarizes the primary commands specific to File Utility functions. For information on primary commands for application and system functions, see Primary Commands.
CANCEL
Cancels updates made on the DB2 Display screens (5.5.4, 5.5.5, and 5.5.6). Can also be used on the Edit DL/1 Segment screen (5.4.4) to roll back any changes made for the currently scheduled PSB.

CHECK
Checks syntax on the DB2 Build SQL Easy Query screen (5.5.2).
![]()
CLOSE
Closes a data set on the Edit CICS Data set Record screen (5.1.3) or a transient data queue on the Edit Transient Data Queue Record screen (5.3.2).

CREATE
Writes a generated SQL call to the SQL transfer data set on the DB2 Browse Generated SQL Call screen (5.5.3). Key-name is the name of the record to which the SQL call is written.
![]()
DELETE
Deletes a record from a data set on the Edit CICS Data set Record screen (5.1.3) or a temporary storage queue on the Edit Queued Record screen (5.2.3). Deletes an MQ message on the Browse MQ Queue Message screen (5.6.2) or Update MQ Queue Message screen (5.6.3). Deletes a record from an intrapartition transient data queue.

DLET
Issues a DL/I DLET call to delete a segment from a database on the Edit DL/1 Segment screen (5.4.4).
![]()
EXEC
Ends the current function and transfers to the File Utility Menu (5).
![]()
FIND
Positions the cursor on a string or data item.

The begcol and endcol variables are only available on the following screens:
- Browse CICS Data set (5.1.2)
- Edit CICS Data set Record (5.1.3)
- Browse Temporary Storage (5.2.2)
- Edit Queued Record (5.2.3).
FIRST
Gets the first message from a queue on the Browse MQ Queue Record screen (5.6.2).

GETPUT
Deletes the currently accessed message from an MQ queue and adds a new message to the queue on the Update MQ Queue Message screen (5.6.3).

GHN
Issues a DL/I Get Hold Next call on a database on the Edit DL/1 Segment screen (5.4.4).

GHNP
Issues a DL/I Get Hold Next within Parent call on a database on the Edit DL/1 Segment screen (5.4.4).
![]()
GHU
Issues a DL/I Get Hold Unique call on a database on the Edit DL/1 Segment screen (5.4.4).

GN
Issues a DL/I Get Next call on a database on the Edit DL/1 Segment screen (5.4.4).

GNP
Issues a DL/I Get Next within Parent call on a database on the Edit DL/1 Segment screen (5.4.4).

GU
Issues a DL/I Get Unique call on a database on the Edit DL/1 Segment screen (5.4.4).
![]()
HEX
Selects a display mode on five of the File Utility screens. The available formats are character-format (HEX OFF), dump format (HEX DUMP), or vertical hexadecimal (HEX ON or HEX VERT).

INSERT
Creates a new I/O area or increases the length of the current I/O area.

ISRT
Issues a DL/I ISRT call on a database to insert a segment on the Edit DL/1 Segment screen (5.4.4).
![]()
LOCATE
Locates specific information depending on the screen from which the command is entered.
List Screens
Locates a file resource on List screens (5.1.1, 5.2.1, 5.3.1, 5.4.1, 5.4.2, 5.4.3, 5.5.1, 5.5.2, 5.5.4, 5.5.5, and 5.6.1).

File Utility Display Screens
Locates a record field on the Edit Record (5.1.3, 5.2.3, and 5.3.2), Edit DL/1 Segment (5.4.4), and DB2 Edit Composite Column (5.5.6) screens when a record has been mapped with the USING command.

NEXT
Accesses the next record on the Edit CICS Data set Record (5.1.3), Edit Queued Record (5.2.3), and Edit Transient Data Queue Record (5.3.2.) screens.

OPEN
Opens a data set on the Edit CICS Data set Record screen (5.1.3), or a transient data queue on the Edit Transient Data Queue Record screen (5.3.2).

PCB
Schedules a DL/I PSB for processing on the Edit DL/1 Segment screen (5.4.4).
![]()
PREV
Accesses previous record on the Edit CICS Data set Record (5.1.3) and Edit Queued Record (5.2.3) screens.

PUT
Adds a message to an MQ queue on the Update MQ Queue Message screen (5.6.3).

READ
Reads a record on the Edit Record screens (5.1.3, 5.2.3, and 5.3.2).

REFRESH
Redisplays the list of queues on the MQ Queue List screen (5.6.1).

REMOVE
Decreases the length of the I/O area.

REPL
Issues a DL/I REPL call to replace an existing segment in a database on the Edit DL/1 Segment screen (5.4.4).
![]()
REPLACE
Replaces specified record in the SQL transfer data set with the generated SQL call that is currently displayed on the DB2 Browse Generated SQL Call screen (5.5.3). Key-name is the name of the record to which the SQL call is written.
![]()
RESET
Restores excluded columns on the DB2 Build SQL Easy Query screen (5.5.2).

REWRITE
Rewrites a record on the Edit CICS Data set Record (5.1.3) and Edit Queued Record (5.2.3) screens.

SHOW
Modifies the format of selected screens to display data in different forms.
Edit DL/1 Segment Screen (5.4.4)
Changes the display format.

Db2 Screens
Displays the SQL generated by a Db2 Easy Query or executes the SQL call and displays the result table on all DB2 Easy Query (5.5) screens.

File Mapping Screens
Displays information in the SHOW field on the Edit Record (5.1.3, 5.2.3, and 5.3.2), Edit DL/1 Segment (5.4.4), DB2 Edit Composite Column (5.5.6) screens, Browse MQ Queue Message (5.6.2), and Update MQ Queue Message (5.6.3).

TERM
Terminates a currently scheduled DL/I PSB on the Edit DL/1 Segment screen (5.4.4).

UPDATE
Transfers from the Browse MQ Queue Message screen (5.6.2) to the Update MQ Queue Message screen (5.6.3) with the currently accessed message.

USING
Formats the current I/O area according to the specified COBOL or PL/I 01 level data name on the Edit Record (5.1.3, 5.2.3, and 5.3.2), Edit DL/1 Segment (5.4.4), DB2 Edit Composite Column (5.5.6) screens, Browse MQ Queue Message (5.6.2), and Update MQ Queue Message (5.6.3).

WRAUX
Writes a record to auxiliary temporary storage on the Edit Queued Record screen (5.2.3).

WRITE
Writes a record on the Edit Record screens (5.1.3, 5.2.3, and 5.3.2).
![]()