Problem solve Get help with specific problems with your technologies, process and projects.

Document your user-defined PDM options

User-defined PDM option: Put a comment at the beginning of the command to document its intended function.

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 */.


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 last published in March 2003

Dig Deeper on iSeries CL programming

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.