Start Source Entry Utility (STRSEU)

Where allowed to run:
  • Batch job (*BATCH)
  • Interactive job (*INTERACT)
  • Interactive program (*IPGM)
  • Interactive REXX procedure (*IREXX)
  • Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The STRSEU (Start Source Entry Utility) command allows you to create, change, display, or print a source member.

Error messages for STRSEU

*ESCAPE Messages

EDT9007
Error found on &1 command.
Top

Parameters

Keyword Description Choices Notes
SRCFILE Source file Single values: *PRV
Other values: Qualified object name
Optional, Positional 1
Qualifier 1: Source file Name
Qualifier 2: Library Name, *LIBL, *CURLIB, *PRV
SRCMBR Source member Name, *PRV, *SELECT Optional, Positional 2
TYPE Source type Simple name, *SAME, BAS, BASP, BND, C, CBL, CBLLE, CICSC, CICSCBL, CICSCBLLE, CICSMAP, CICSSQLCBL, CL, CLD, CLP, CLLE, CMD, CPP, DFU, DSPF, FTN, ICFF, LF, MENU, MNU, MNUCMD, MNUDDS, PAS, PF, PLI, PNLGRP, PRTF, QRY, REXX, RMC, RPG, RPGLE, RPT, SPADCT, SQLC, SQLCBL, SQLCBLLE, SQLFTN, SQLPLI, SQLRPG, SQLRPGLE, SRT, TBL, TXT, BAS38, BASP38, BSCF38, CBL38, CL38, CLP38, CMD38, CMNF38, DFU38, DSPF38, LF38, MXDF38, PF38, PLI38, PRTF38, QRY38, RPG38, RPT38, SRT38, TXT38, ARS36, ASM36, BAS36, BASP36, BGC36, BGD36, BGF36, CBL36, DFU36, DTA36, DSPF36, FOR36, MNU36, MSGF36, OCL36, PHL36, RPG36, RPT36, SRT36, TXT36, UNS36, WSU36 Optional, Positional 3
OPTION Option *BLANK, ' ', 2, 5, 6 Optional, Positional 4
TEXT Text 'description' Character value, *BLANK Optional
Top

Source file (SRCFILE)

Specify the names of the source physical file and library that contain the member to be edited or created.

The possible values are:

*PRV
Specifies that SEU is to use the name of the source file and library used in your last SEU session. If you specify *PRV for the Source file parameter, it is not necessary to specify a library.
source-file-name
Type the name of an existing source file to be used. If you specify the source-file-name and a library name, SEU searches the specified library for the source file. If you do not specify the source-file-name with a library name, *LIBL is used.
library-name
Type the name of an existing library to be used. If *CURLIB is specified as the library, SEU searches the current library in your library list. If you specify *LIBL as the library, SEU searches the libraries in the library list for the file.
Top

Source member (SRCMBR)

Specifies the name of the source physical file member to be edited or created. The default value for this parameter depends on if you specify the SRCFILE parameter.

The possible values are:

*SELECT
This is the default value if you specify the SRCFILE parameter. If you choose *SELECT, you will get lists of all members in the specified file and library. Select a member to edit, browse, print, or delete.
*PRV
This is the default value if you do not specify the SRCFILE parameter. *PRV is the name of the previous source physical file member or the Work with Members display.
source-file-member-name
Type the name of the source physical file member you want to create or edit.
Top

Source type (TYPE)

Specifies the type of source member to edit or create. The possible values are:

*SAME
The default value is the same type as that used when this member was last edited. For a new member the default value is TXT.
TYPE
This value allows you to specify the type of source to use. You can specify any combination up to 10 characters, or you can specify a type supported by SEU.

Your members can have any type that is meaningful for you. SEU supports the following member types:

Operating system types
BAS, BASP, BND, C, CBLLE, CBL, CICSC, CICSCBLLE, CICSCBL, CICSMAP, CICSSQLCBL, CL, CLD, CLLE, CLP, CMD, CPP, DFU, DSPF, FTN, ICFF, LF, MENU, MNU, MNUCMD, MNUDDS, PAS, PF, PLI, PNLGRP, PRTF, QRY, REXX, RMC, RPG, RPGLE, RPT, SPADCT, SQLC, SQLCLE, SQLCBL, SQLCBLLE, SQLFTN, SQLPLI, SQLRPG, SQLRPGLE, SRT, TBL, and TXT.
System/38 types
BAS38, BASP38, BSCF38, CBL38, CL38, CLP38, CMD38, CMNF38, DFU38, DSPF38, LF38, MXDF38, PF38, PLI38, PRTF38, QRY38, RPG38, RPT38, SRT38, and TXT38.
System/36 types
ARS36, ASM36, BAS36, BASP36, BGC36, BGD36, BGF36, CBL36, DFU36, DSPF36, DTA36, FOR36, MNU36, MSGF36, OCL36, PHL36, RPG36, RPT36, SRT36, TXT36, UNS36, and WSU36.

In addition to the types listed above, you can also choose your own member type names.

Top

Option (OPTION)

Specifies the function to perform on the selected member. The default value depends on if you specify a member name. If you do not specify a member name, the default is *BLANK, which indicates no action. If you specify a member name, the default value is 2 (Edit). This specifies an Edit session for the member.

The possible value is:

*BLANK or ' '
This is the default value if you do not specify a member name. *BLANK specifies no action.
2=Edit a member
Type 2 after you have selected the option parameter to go to the Edit display.
5=Browse a member
Type 5 after you have selected the option parameter to go to the Browse display.
6=Print Member
Type 6 to print the member specified.
Top

Text 'description' (TEXT)

Specify a character string that describes the member in the text field for the member.

The possible values are:

*BLANK
Specifies that SEU should enter blanks in the text field of a new member. This default does not change the text field of an existing member.
Description
Specify a character string of up to 50 characters to describe a member. Enclose the string in apostrophes to use leading or trailing blanks.
Top

Examples

None
Top

Error messages

*ESCAPE Messages

EDT9007
Error found on &1 command.
Top