Basic Commands: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
|-
|-
| CRTSRCPF
| CRTSRCPF
| Creates a physical file for storing sources, f.e.<br/><tt>CRTSRCPF FILE(SOMELIBRARY/SOMEFILE) RCDLEN(112) TEXT('My file description')</tt>
| Creates a physical file for storing sources, f.e.<br/><code>CRTSRCPF FILE(SOMELIBRARY/SOMEFILE) RCDLEN(112) TEXT('My file description')</code >
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/ddp/rbae5crtsrcp.htm Details]
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/ddp/rbae5crtsrcp.htm Details]
| Files
| Files
|-
|-
| DLTF
| DLTF
| Deletes a file, f.e.<br/><tt>DLTF FILE(SOMELIBRARY/SOMEFILE)</tt>
| Deletes a file, f.e.<br/>< code >DLTF FILE(SOMELIBRARY/SOMEFILE)</code >
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/cl/dltf.htm Details]
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/cl/dltf.htm Details]
| Files
| Files
Line 33: Line 33:
|-
|-
| STRREXPRC
| STRREXPRC
| Start a REXX script, f.e.:<br/><tt>STRREXPRC SRCMBR(SOMEMEMBER) SRCFILE(SOMEPHYSICALSOURCEFILE)</tt>
| Start a REXX script, f.e.:<br/>< code >STRREXPRC SRCMBR(SOMEMEMBER) SRCFILE(SOMEPHYSICALSOURCEFILE)</code >
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/cl/strrexprc.htm Details]
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/cl/strrexprc.htm Details]
| Development
| Development
Line 43: Line 43:
|-
|-
| DSPUSRPRF
| DSPUSRPRF
| Shows user profile, f.e.<br/>DSPUSRPRF HKRETSCHME
| Shows user profile, f.e.<br/><code>DSPUSRPRF HKRETSCHME</code>
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/cl/dspusrprf.htm Details]
| [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/cl/dspusrprf.htm Details]
| Administration
| Administration

Revision as of 12:33, 2 October 2019

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.
< code >DLTF FILE(SOMELIBRARY/SOMEFILE)
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.:
< code >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 content 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


See also