When using APIs with complex parameters and data structures etc. I find it easier to copy in the parms from the relevant source file in QSYSINC e.g. QREPGLESRC. This avoids the issue of offsets being zero based in some IBM documentation etc. (as mentioned in the IP address tip response) and is a lot quicker.
strpdm Option 3 QRPGLESRC/QSYSINC Select Member
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.