When creating or modifying a user-defined PDM option, you can put a comment at the beginning of the command to document its intended function.
For example: /* Call program from library */ CALL PGM(&O/&N)
While this is a simplistic example, it gives you the basic idea.
Some user-defined PDM options can become complex, especially when calling a program to perform the operations and acting upon the parms (option parms like &O, &N, etc) passed in.
Prompting the command during creation of the user-defined PDM option just ignores the /* comment */.
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
This was first published in March 2003