On the AS/4. 00, source statements are entered using PDM, the Program Development manager. Technically, PDM uses the Source Entry Utility (SEU) as the editor. But you don’t have to think of SEU as something different from 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/4. 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. Source code is kept in a member of a file. The file is kept in a library. Each file can have many members. Each member is the source code for a program. Starting PDMPDM may either be started using the command STRPDM (for Start PDM,) which will produce a menu of options for the level on which the user wishes to work (libraries, objects, or members,) or using one of three commands which indicate the level at which the user would like to work: WRKLIBPDM — Work with libraries using PDMWRKOBJPDM — Work with objects using PDMWRKMBRPDM — Work with file members using PDMWork with Objects. One of the most commonly used commands to start PDM is WRKOBJPDM. This allows the user to work with objects inside a library. Type WRKOBJPDM and press to prompt on it. WRKOBJPDMThe *PRV value on the “Library” field indicates that the default is to work on the library the user last worked with. These may be replaced with the name of a specific library. The “Object” and “Object type” options allow the user to limit which objects will be displayed. The screen resulting from command WRKOBJPDM, with the library specified as YASIRU, and *ALL on the other options, is shown below. WORK With OBJECTS USING PDMPDM Options. Options are displayed across the top of the screen (for a list of all the options available in PDM, see Table 1 at the end of this section.) Each option is an action which may be performed on an object by placing its number on the “Opt” line next to the object and pressing the < Enter> key. This method of specifying actions on a form listing the objects available is consistent throughout PDM. There are two important special features which this method of specifying actions offers: First, the options support the prompting facility, and second, multiple objects may be operated on in succession. To use the prompting facility, simply press while an option number is on one of the “Opt” lines. PDM will present the prompt screen for the command associated with that option number. Multiple objects may be operated on sequentially by placing numbers on more than one Opt line. For example, assume we have two source files in “YASIRU”. You can type “5” (Display) against one and type “7” (Rename) against the other. Pressing causes PDM to process each option in turn. More on PDM levels. Moving down levels in PDM is accomplished using the “1. Work With. At the WRKOBJPDM screen, the action of this option depends on the file type. Placing a 1. 2 on the line next to an item on this display will: If the item is of type *FILE, go to the WRKMBRPDM display for that file (there are different types of WRKMBRPDM displays for source and data files.)If the item is of type *OUTQ, go to the “Work With Output Queue” display, allowing the user to work with spooled files. Using dfu to delete a customer record this leaves no audit trail only use as a last resort. STRDFU is the main menu for the Data File Utility. AS/400 Data File Utility (DFU). If the item is of type *PGM, present a display allowing the user to call the program, change its attributes, etc. When working with a source physical file at this level, option 2 runs the STRSEU command to begin editing a member and 1. ![]() DEBUG option to include debugging information in the program, remember that the prompting facility may be invoked on any PDM option.) When working with a physical data file, the “2=change” option is no longer valid. However, the “1. 8” option may be invoked to modify the file using DFU (Data File Utility). Type “1. 2” against “SRCFILE” to work with it. The following “Work with Members using PDM” screen appears: WORK With MEMBERS USING PDMPresently, there are no members in “QCLSRC”. Let’s create a member. To do that, press (Create). This will automatically invoke the SEU editor. ![]() Enter the name of the new source member and for its source type, enter “TXT” (i. Press . STRSEUYou will now be inside the SEU editor. ![]() DFU program (DFUPGM) Specifies the name of the DFU program to be run, created, changed, or deleted. You do not use this parameter if you select option 5 (to run a. Please note this is a task for school I'm trying to create a CL Program and this is the breakdown of the requirements I've gathered: CL program calls DFU program a. Data File Utility for AS/400 System. DFU data entry applications can be created and started with DDM to work with remote files in the same manner as with local files. AS/400, Problems with a DFU program. IBM's Data File Utility is a data file viewer and editor that is included in the i/OS operating system. DFU allows the user to view, add, update and delete records. The main advantage of using triggers, instead of calling the program from within an. DFU and other simple data entry applications for the iSeries are. For now, press to quit and type “Y” in the “Change/Create member” field to save the source member. On return to the WRKMBRPDM screen, you will notice that “SRCMBR” is now in “SRCFILE”. The “Work with Members using PDM” screen can be accessed directly using the WRKMBRPDM command. Type this command and press to prompt on it. To work with the member that we have just created, enter the names of the library and file as shown below. If you have many members in your file, you can use the “Member” and/or “Member Type” fields to narrow down the number of members to work with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2017
Categories |