× 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.



hi,

i'm trying to use the QYAPSOL api but i always get GUI0141 in the errorcode - 
Filter specification is not valid.

DapiRetrieveDisk  PR                  EXTPGM('QYASPOL')                  D  
receiver                  32000A
D  length                       10I 0 CONST
D  listInfo                     80A 
D  recToReturn                  10I 0 CONST     
D  filters                      10I 0 CONST        
D  filterInfo                  100A   CONST       
D  formatName                    8A   CONST  
D  errorCode                   200A            

DFilterData       DS                  QUALIFIED      
D  data                         16A           
D  overallSize                  10I 0 OVERLAY(data:1)         
D  filterKey                    10I 0 OVERLAY(data:5)        
D  dataSize                     10I 0 OVERLAY(data:9)             
D  filterData                   10I 0 OVERLAY(data:13) 

<some free code>

FilterData.filterKey = 1;    
FilterData.filterData = -1;           
FilterData.dataSize = 16;     
FilterData.overallSize = %size(FilterData.data);   

apiRetrieveDisk(receiver        :                                               
        %len(receiver)  :   
                listInfo        :                  
                -1              :             
                0               :             
                FilterData.data :             
                listFormat      :             
                errorcode      );  
</some free code>

why is working with os400 api always so difficult.

can someone pleeeeaaasssee help me.

thanx in advance

mihael knezevic

-----------------------------------------------------------------

   /"\
   \ /
    X            ASCII Ribbon campaign against HTML E-Mail
   / \

-----------------------------------------------------------------
                                                                                
                 

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.