Hi all, maybe it's only my but I find this one annoyng:

Dcl-f mudbcos02l disk keyed usage(*input);

Dcl-Ds rDbcos extname('MUDBCOS00F':*ALL) qualified End-ds;

chain ('21903262') mudbcos02l rDbcos;

It's not working (RNF7595)

A workaround is:

Dcl-f mudbcos02l disk keyed usage(*input);

Dcl-Ds rDbcos extname('MUDBCOS00F':*ALL) qualified End-ds;
Dcl-Ds rCos likerec(dbcos);

chain ('21903262') mudbcos02l rCos;
eval-corr rDbcos = rCos;
if %nullind(rDbcos.Duedate);
%nullind(rDbCos.Duedate) = *off;
rDbCos.Duedate = %date();
EndIf;

Or (but max field's name length is 14 and will be prefixed in the whole
programm):

Dcl-f mudbcos02l disk keyed usage(*input) prefix('RS.');

Dcl-Ds RS extname('MUDBCOS00F':*ALL) qualified End-ds;

chain ('21903262') mudbcos02l;
if %nullind(RS.Duedate);
%nullind( RS.Duedate) = *off;
RS.Duedate = %date();
EndIf;

So my question is: why is it not possible to use a qualified Ds in I/O
operations?

TIA
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco

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.