Basic Commands: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | No edit summary | ||
| Line 91: | Line 91: | ||
| | [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/cl/fndstrpdm.htm Details] | | [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/cl/fndstrpdm.htm Details] | ||
| | Files, Development | | Files, Development | ||
| |- | |||
| | CRTCMOD | |||
| | Create a module<ref>In gcc-terms "object"</ref> from C-Source. <br/> F.e. <code>CRTCMOD MODULE(CTI/NTWRKNG) SRCFILE(CTI/SOURCES) SRCMBR(NETWORKING) OPTION(*LOGMSG)</code>  | |||
| | [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/cl/crtcmod.htm Details] [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzarf/clcommands.htm General C-Compiling] [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/rzasc/bndmodpgm.htm About 2-Step-Compiling] | |||
| | Development | |||
| |- | |||
| | CRTPGM? | |||
| | Links the modules<ref>In gcc-terms "objects"</ref> into one program.<br/> | |||
| | [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/rzasc/crtpgm9.htm Details] [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzarf/clcommands.htm General C-Compiling] [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/rzasc/bndmodpgm.htm About 2-Step-Compiling] | |||
| | Development | |||
| |- | |||
| | CRTBNDC | |||
| | Creates a program from C-Source (CRTCMOD and CRT in one step).  | |||
| | [https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/cl/crtbndc.htm Details] [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzarf/clcommands.htm General C-Compiling] | |||
| | Development | |||
| |} | |} | ||
Revision as of 14:05, 29 November 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. 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 | Files | 
| FNDSTRPDM | Find a string in a file | Details | Files, Development | 
| CRTCMOD | Create a module[1] from C-Source. F.e. CRTCMOD MODULE(CTI/NTWRKNG) SRCFILE(CTI/SOURCES) SRCMBR(NETWORKING) OPTION(*LOGMSG) | Details General C-Compiling About 2-Step-Compiling | Development | 
| CRTPGM? | Links the modules[2] into one program. | Details General C-Compiling About 2-Step-Compiling | Development | 
| CRTBNDC | Creates a program from C-Source (CRTCMOD and CRT in one step). | Details General C-Compiling | Development 
 |