|
Hello Steve, I've send you a code example of the DEST0200 format privately. As for the documentation -- not knowing what version you were using -- I'd say that the V5R1 version of the QCDRCMDD API documentation probably was written by someone who had stayed out in the sun much to long. The V5R2 version seems to have undergone a serious cleanup process, missing information has been added and the errors have been removed. I don't know if you'd agree but to me that version is much easier to understand. Good luck! Carsten Flensburg ----- Original Message ----- From: "Steve Landess" <steve_landess@xxxxxxxxxxx> To: "RPG400 List" <rpg400-l@xxxxxxxxxxxx> Sent: Wednesday, May 28, 2003 12:07 AM Subject: Using Retrieve Command Definition (QCDRCMDD) API Hello, I want to use the QCDRCMDD API in an RPG program with the DEST0200 format. I found and dowloaded a program that works using the DEST0100 format, which returns the command information in a variable. However, I want to use the DEST0200 format to create the output in a stream file in the IFS. In looking at the documentation for this API on the Info Center, I'm confused about how to code and use the data structure for the DEST0200 format. In the RPG400-L archives I found an example by Bruce Vining, but his example is just a command line call like this: call qcdrcmdd ('CRTBNDRPG QSYS' x'000000000000000000000000000000000000000 461000000000000000000000061c3c3c3' DEST0200 ' ' CMDD0100 0) If anyone has any working code that you would share, that would be nice, but what is more important to me is to be able to interpret the Info Center documentation on _any_ API and translate that to working code. It almost seems like IBM has gone to great lengths to obfuscate this process. It shouldn't be this difficult to understand.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.