[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Versioning of LIBHTTP



How about this?

In procedure mapMaterialGetDetail, you are defining GetDetail as parm and trying to use it to return data (like EXAMPLE16?).

The XML you provided does not have ShortText so that field is set to whatever random data is in that location. Do you inz the data structure in the mainline?

Does this make any sense? Give a clue?
 

>> P mapMaterialGetDetail...
>> P                 B
>> D                 PI
>> D   GetDetail                         LikeDs(MaterialGetDetail)
>> D   Depth                       10I 0 Value
>> D   Name                      1024A   Varying Const
>> D   Path                     24576A   Varying Const
>> D   Value                    32767A   Varying Const
>> D   Attrs                         *   Dim(32767) Const Options(*Varsize)
>>
>>    * Local variables
>> D* None
>>
>>    /free
>>
>>     // Parse return data for ZMaterialGetDetail
>>     Select;
>>       When Name = 'ShortText';
>>         Eval GetDetail.O_ShortText = Value;
>>       When Name = 'Indgrosdet';
>>         Eval GetDetail.O_GrosDetail = Value;
>>     EndSl;
>> /End-free


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------