Professional Documents
Culture Documents
Press F4
PRESS F4
Then it will create a source physical file inside the specified library. (eg:- STUDY8014) to create source members we have to go inside the created source physical file. To do that press WRKMBRPDM + F4
To create a physical file physical files are sources for the database tables. These physical files contains the actual data. the type of these objects are PF. After go to the pdm by using WRKMBRPDM then press F6 to create its members.
Give the Library, source file, source member name, source member type, and the description.
Then to insert a new line type I as mentioned in the below picture and press enter.
To delete a line type D in the front of the line and press enter
To delete multiple lines type DD in the front of the lines you want to delete
You have to put C for the line that is being copied and A represent after the line.
Same as we can use B for before a line. Type 14 to compile a physical file.
If it compiled successfully it will give a successful message. If an object already exists it will give the message accordingly. To insert values use the query language facility STRSQL 1st method of insert values to the table
You can insert values using the sql insert operations. the table name will be the corresponding physical file name.
press F9 key to go to insert window Type the values for the attributes
press F3 and go back then it will show number of records added to the table.
GO VERB
go verb will show all the commands available according the type of the command.eg:- create commands,close commands,...etc. When we type GO CMD(Command type) eg- GO CMDCRT then it will go to inside the create category in the above very list.(without going verb window and select the create commands)
So type GO CMD+comand type if you know the part of the command you can use * mark. Eg:- CRT* , DSP*
Library List
library list are used to give the access to user libraries. when the system, look for a AS/400 object it will find it in libraries in the order of library list. Since it first search it in the system library and all the commands resides in the system library , users can run the commands. DSPLIBL
To see the library list. It will consist of 3 things. 1)The SYS libraries have operating system objects. This is where the AS/400 commands and menus are contained. 2) The CUR library is your current library. This is your first user library and is where objects are created if you don't specify which library to use. 3) The USR libraries list your other user libraries. EDT LIBL:- to edit the library list we can only change the USR libraries using CHGLIBL CHGLIBL :- to change the library list
PDM PDM provides a way to enter program source statements and then to compile the statements into executable programs. The source statements are needed only for the compiler. The compiled programs are the objects that are actually run on the AS/400. The source code and the compiled objects are separate things. But it is easy to confuse the two. At times, you may try to open the compiled object with PDM when you really mean to open the source code used to create the compiled object. The source code files can have any name but conventionally the names start with Q and end with SRC, for source. Typically: QCLSRC is the file for the CL program source statements QDDSSRC is for the DDS program source statements QRPGSRC is for the old RPG language QRPGLESRC is for the new RPG/ILE language QMNUSRC or QMENUSRC is for menus QCBLSRC or QLBLSRC is for COBOL QCMDSRC is for commands