Basic Commands
Jump to navigation
Jump to search
This article describes the basic commands for easy reference. Even more can be found at IBM's documentation.
Command | Short description | Link to detailed description | Category | |||||
---|---|---|---|---|---|---|---|---|
CRTSRCPF | Creates a physical file for storing sources, f.e.CRTSRCPF FILE(SOMELIBRARY/SOMEFILE) RCDLEN(112) TEXT('My file description')
|
Details | Files | |||||
DLTF | Deletes a file, f.e.DLTF FILE(SOMELIBRARY/SOMEFILE) Please note that this only deletes files like databases. Programs must be deleted using DLTPGM
|
Details | Files | |||||
DLTPGM | Deletes a program, f.e.DLTPGM PGM(SOMELIBRARY/SOMEPGM)
|
Details | Files | |||||
WRKMBRPDM | Work with source files using the Programming Development Manager | Details | Development | |||||
STRSEU | Starts the source code editor. | Details | Development | |||||
SEU | Source code Edit Utility | Details …and more useful… Usage |
Development | |||||
STRREXPRC | Start a REXX script, f.e.:STRREXPRC SRCMBR(SOMEMEMBER) SRCFILE(SOMEPHYSICALSOURCEFILE)
|
Details | Development | |||||
CRTPGM | Creates a program from source code | Details | Development | |||||
DSPUSRPRF | Shows user profile, f.e.DSPUSRPRF HKRETSCHME
|
Details | Administration | |||||
DSPMSG | Displays your messages, their origin might be another user or the compiler. | Details | Administration | |||||
STRSQL | Start interactive SQL session to view or change contents of your databases. |
Details and [TBD about usage] | Databases | |||||
STRDFU | Start Data File Utility. | Details | Databases | |||||
DSPF | Display the contents of a file, f.e.:DSPF FILE(SOMELIB/SOMEDBFILE)
|
Details | Databases | |||||
CRTDSPF | Create Display Files | Details | Databases | |||||
RNMOBJ | Rename Object | Details | Files | - | MOVOBJ | Moves an object, like a physical file, to another library. /Example: MOVOBJ OBJ(HKRETSCHME/HELLO01) OBJTYPE(*FILE) TOLIB(HELLOWRLD) for physical files, or.../ MOVOBJ OBJ(HKRETSCHME/HELLO01) OBJTYPE(*PGM) TOLIB(HELLOWRLD) ...for programs.
|
[Details https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/cl/movobj.htm] | Files |