MIDRANGE dot COM Mailing List Archive



Home » RPG400-L » May 2007

Re: Problem occurs when binding program that uses Qc3EncryptData



fixed

Thanks, Bruce - that was the problem.

I had to add binding directory entries for both QC3DTADE and QC3DTAEN.
The program compiles now.

Regards,
Steve
----- Original Message ----- From: "Bruce Vining" <bvining@xxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Friday, May 11, 2007 2:13 PM
Subject: Re: Problem occurs when binding program that uses Qc3EncryptData


If you have the *SRVPGM QSYS/QC3DTADE on your system, then I suspect that
the PTF didn't update the QUSAPIBD *BNDDIR. Use WRKBNDDIR QUSAPIBD,
option 9, and see if QC3DTADE is there. If it isn't, use ADDBNDDIRE to
add it and try the compilation again.

Bruce Vining




"Stephen Landess" <sjl_abc@xxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
05/11/2007 11:59 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
Problem occurs when binding program that uses Qc3EncryptData






We are on V5R2.

These programs exist on our system:
Qc3EncryptData (QC3DTAEN) - Encrypt data
Qc3DecryptData (QC3DTADE) - Decrypt data

When compiling/binding Bob Cozzi's RC4 example program
<http://www.mcpressonline.com/mc/1@xxxxxxxxxxxxxxx@.6b37c204!more=1#more>
that uses this encryption API, I get the following error on the compile
listing:

Comments . . . . . . . . . . . : 179
* * * * * E N D O F F I N A L S U M M A R Y * * * * *
B i n d D i a g n o s t i c M e s s a g e s
Errors were found during the binding step. See the job log for more
information.
* * * * * E N D O F B I N D D I A G N O S T I C M E S S A G E
S
* * * * *
Program RC4 in library US0T1106 not created.
* * * * * E N D O F C O M P I L A T I O N * * * * *


From the job log:

CPD5D02 Diagnostic 30 05/11/07 11:37:15.669528 QBNBIND QSYS
*STMT QBNBIND QSYS

From module . . . . . . . . : QBNBSYMR
From procedure . . . . . . : QBNBSYMR__UnresolvedReferenceIterator
Statement . . . . . . . . . : 31
To module . . . . . . . . . : QBNBSYMR
To procedure . . . . . . . : QBNBSYMR__SignalUnresolvedReferences
Statement . . . . . . . . . : 8

Message . . . . : Definition not found for symbol 'Qc3DecryptData'.

Cause . . . . . :
No definition was found for reference Qc3DecryptData in
*MODULE object RC4 in library QTEMP. The definition either does not exist
or
is not of the same data or procedure type as the reference.

Recovery . . . :
Try the Create Program (CRTPGM) command again, supplying an object that
contains a definition for symbol Qc3DecryptData.

_________________________________________________________________
Like the way Microsoft Office Outlook works? You?ll love Windows Live
Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.








Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact