× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.  

Thanks for your help,

Steve Landess
Austin, Texas
(512) 423-0935

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.