WRKDDMF (Work with DDM Files) command
The Work with DDM Files (WRKDDMF) command allows you to work with existing DDM files from a list display. From the list display, you can change, delete, display, or create DDM files. For the following displays, it is assumed that you have created DDM files using theCreate DDM File (CRTDDMF) command. If you enter the WRKDDMF command and specify library WILSON and file A, the following display is shown:
Work with DDM Files Position to . . . . . . _____________________ Type options, press Enter. 1=Create DDM file 2=Change DDM file 4=Delete 5=Display details 6=Print details Remote Option Local File Remote File Location _ _____________________ _ WILSON/A A S36 Bottom F3=Exit F5=Refresh F9=Print list F12=CancelTo create a DDM file using this display, type a 1 in the option column and type the names of the library and file you want to create, then press the Enter key. For example, type a 1 (Create DDM file) in the option field and WILSON/TEST in the local file column of the top list entry (as shown in the following display), and then press the Enter key. The Create DDM File display is shown.Work with DDM Files Position to . . . . . . _____________________ Type options, press Enter. 1=Create DDM file 2=Change DDM file 4=Delete 5=Display details 6=Print details Remote Option Local File Remote File Location 1 WILSON/TEST__________ _ WILSON/A A S36 Bottom F3=Exit F5=Refresh F9=Print list F12=CancelCreate DDM File (CRTDDMF) Type choices, press Enter. DDM file . . . . . . . . . . . . TEST Name Library . . . . . . . . . . . WILSON Name, *CURLIB Remote file: File . . . . . . . . . . . . . Name, *NONSTD Library . . . . . . . . . . Name, *LIBL, *CURLIB Nonstandard file 'name' . . . Remote location: Name or address . . . . . . . Type . . . . . . . . . . . . . *SNA *SNA, *IP More... F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keysOn the Create DDM File display, type the required values, and change or use the default values given. By pressing F10 (Additional parameters), you can page through the command parameters as they are shown on two displays. By pressing the Page Down key, you are shown these additional parameters:Create DDM File (CRTDDMF) Type choices, press Enter. Text 'description' . . . . . . . *BLANK Additional Parameters Device: APPC device description . . . *LOC Name, *LOC Local location . . . . . . . . . *LOC Name, *LOC, *NETATR Mode . . . . . . . . . . . . . . *NETATR Name, *NETATR Remote network identifier . . . *LOC Name, *LOC, *NETATR, *NONE Port number . . . . . . . . . . *DRDA *DRDA, 1-65535 Access method: Remote file attribute . . . . *RMTFILE *RMTFILE, *COMBINED... Local access method . . . . . *BOTH, *RANDOM, *SEQUENTIAL Share open data path . . . . . . *NO *NO, *YES Protected conversation . . . . . *NO *NO, *YES More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keysCreate DDM File (CRTDDMF) Type choices, press Enter. Record format level check . . . *RMTFILE *RMTFILE, *NO Authority . . . . . . . . . . . *LIBCRTAUT Name, *LIBCRTAUT, *ALL... Replace file . . . . . . . . . . *YES *YES, *NO Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keysAfter you have typed in the values, press the Enter key to process the command and return to the Work with DDM Files display. If you want to change a DDM file, type a 2 (Change DDM file) on the Work with DDM Files display next to the file that you want to change, or type the option number in the top list entry of the Options column and specify the local file that you want changed. For example, type a 2 (Change DDM file) in the Option column of the local file named WILSON/TEST.
Work with DDM Files Position to . . . . . . _____________________ Type options, press Enter. 1=Create DDM file 2=Change DDM file 4=Delete 5=Display details 6=Print details Remote Option Local File Remote File Location _ _____________________ _ WILSON/A A S36 2 WILSON/TEST TESTFILE.TESTLIB S38 Bottom F3=Exit F5=Refresh F9=Print list F12=CancelPress the Enter key and the Change DDM File display is shown. For example, if you only want to add a text description, type in the description and press the Enter key. But, if you want to make additional changes, press F10 (Additional parameters), and you can page through the command parameters as they are shown on two displays.
Change DDM File (CHGDDMF) Type choices, press Enter. DDM file . . . . . . . . . . . . TEST Name Library . . . . . . . . . . . WILSON Name, *LIBL, *CURLIB Remote file: File . . . . . . . . . . . . . *SAME Name, *SAME, *NONSTD Library . . . . . . . . . . Name, *LIBL, *CURLIB Nonstandard file 'name' . . . Remote location: Name or address . . . . . . . *SAME Type . . . . . . . . . . . . . *SAME *SAME, *SNA, *IP Record format level check . . . *SAME *SAME, *RMTFILE, *NO More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keysIf you want to change the mode parameter, type in that value, and then press the Enter key.Change DDM File (CHGDDMF) Type choices, press Enter. Text 'description' . . . . . . . *SAME Additional Parameters Device: APPC device description . . . *SAME Name, *SAME, *LOC Local location . . . . . . . . . *SAME Name, *SAME, *LOC, *NETATR Mode . . . . . . . . . . . . . . *SAME Name, *SAME, *NETATR Remote network identifier . . . *SAME Name, *SAME, *LOC, *NETATR... Port number . . . . . . . . . . *SAME *SAME, *DRDA, 1-65535 Access method: Remote file attribute . . . . *SAME *SAME, *RMTFILE, *COMBINED... Local access method . . . . . *BOTH, *RANDOM, *SEQUENTIAL Share open data path . . . . . . *SAME *SAME, *NO, *YES Protected conversation . . . . . *SAME *SAME, *NO, *YES Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keysAfter you press the Enter key, you return to the Work with DDM Files display.
If you want to display the details of a DDM file, type a 5 (Display details) on the Work with DDM Files display next to the file that you want to display, or type the option number in the top list entry of the Options column and specify the local file you want to display. For example, type a 5 (Display details) in the Option column and type WILSON/TEST in the Local File column of the top list entry. You can also display the details of a file by using the Display DDM Files (DSPDDMF) command.
Work with DDM Files Position to . . . . . . _____________________ Type options, press Enter. 1=Create DDM file 2=Change DDM file 4=Delete 5=Display details 6=Print details Remote Option Local File Remote File Location 5 WILSON/TEST__________ _ WILSON/A A S36 _ WILSON/TEST TESTFILE.TESTLIB S38 Bottom F3=Exit F5=Refresh F9=Print list F12=CancelPress the Enter key and the Display Details of DDM File display is shown.Display Details of DDM File SYSTEM: AS400B Local file: File . . . . . . . . . . . . . . . . . . . . . : TEST Library . . . . . . . . . . . . . . . . . . : WILSON Remote file . . . . . . . . . . . . . . . . . . : TESTFILE.TESTLIB Remote location: Remote location . . . . . . . . . . . . . . . : S38 Device description . . . . . . . . . . . . . . : *LOC Local location . . . . . . . . . . . . . . . . : *LOC Remote location network ID . . . . . . . . . . : *LOC Mode . . . . . . . . . . . . . . . . . . . . . : S38MODE1 Press Enter to continue. More... F3=Exit F12=CancelPage down to see the second display.Display Details of DDM File SYSTEM: AS400B Access method Remote file attribute . . . . : *RMTFILE Local access method . . . . . : Share open data path . . . . . . : *NO Check record format level ID . . : *RMTFILE Text . . . . . . . . . . . . . . : TEST VERSION FOR DDM Press Enter to continue. Bottom F3=Exit F12=CancelPress the Enter key to return to the Work with DDM Files display.
In addition to displaying the details of the DDM file, you can print the detail information by typing a 6 (Print details) in the Option column.
You can also print a list of the DDM files by pressing F9 (Print list). To delete a file or files, type a 4 (Delete) in the Option column next to the files you want to delete or in the top list entry and specify the file you want to delete.
Work with DDM Files Position to . . . . . . _____________________ Type options, press Enter. 1=Create DDM file 2=Change DDM file 4=Delete 5=Display details 6=Print details Remote Option Local File Remote File Location _ _____________________ _ WILSON/A A S36 4 WILSON/TEST TESTFILE.TESTLIB S38 Bottom F3=Exit F5=Refresh F9=Print list F12=CancelPress the Enter key. You are shown the Confirm Delete of Files display.Confirm Delete of Files Press Enter to confirm your choices for 4=Delete. Press F12 to return to change your choices. Remote Option Local File Remote File Location 4 WILSON/TEST TESTFILE.TESTLIB S38 Bottom F12=CancelChoose one of the actions on the display and then press the Enter key. You return to the Work with DDM Files display.
Parent topic:
DDM-specific CL commands
Related reference
CHGDDMF (Change DDM File) command
CRTDDMF (Create DDM File) command
DSPDDMF (Display DDM Files) command