|
Since %ELEM() returns an unsigned integer, maybe these changes will work. D NumOfLibs S 10u 0 then... C Eval NumofLibs = %ELEM(UserLibs) HTH, Reggie Acosta > ------------------------------ > > message: 3 > date: Wed, 11 Feb 2004 12:30:06 -0600 > from: "Malchow, Grizzly" <GMalchow@xxxxxxxxxxxxxxxxxxxxx> > subject: RE: RPG400-L Digest, Vol 3, Issue 89 > > >> from: "Bob Cozzi" <cozzi@xxxxxxxxx> > >> subject: RE: QLICHGLL API > > >> Uh yes... the number of libs needs to be a 4-byte binary field > (INT4). In >> RPG IV that would be a 10i0 value. -Bob Cozzi > > I noticed that but I couldn't get the value to convert to a > 4-byte binary field. I looked around and I found an example > that was using a packed decimal. Obviously that is incorrect. > Is there a built in function in RPG that works like %BIN in > CL programs? I can't find anything. > > ------------------------------
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.