IBM InfoSphere DataStage, Version 11.3.1
The RUN Command
After you have successfully compiled your program, you can run it from the InfoSphere® DataStage® system level with the RUN command. Enter the RUN command at the system prompt. The syntax is as follows:
RUN [ filename ] program [ options ]
The RUN command appends .O to filename and executes the record containing object code in filename.O . If filename is omitted, the default file, BP, is assumed.
program is the name of the source code of the program. options can be one or more of the following:
- NO.WARN
- Suppresses all warning (nonfatal) messages.
- NO.PAGE
- Turns off automatic paging. Programs that position the cursor with @ functions do not need to disable pagination.
- LPTR
- Spools program output to the printer rather than to the terminal screen.
- KEEP.COMMON
- If the program is executed from within a chain, links the unnamed common.
- TRAP
- Causes the program to enter the interactive debugger, RAID, whenever a nonfatal error occurs.
For example, the following command executes the record MAIN in the BP.O file:
>RUN BP MAIN
Run-time error messages are printed on the terminal screen as they are encountered, unless the NO.WARN keyword was specified.
Note: Cataloged
programs are considered executable files (that is, the RUN command is not
required). To run a cataloged program, enter its catalog name at the system
prompt.
Last updated: 2015-03-09
PDF version of this information: