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



DSPMSG CPFB006 QCPFMSG

Here, let me help you with that:

Display Formatted Message Text

System: PUB1

Message ID . . . . . . . . . : CPFB006

Message file . . . . . . . . : QCPFMSG

Library . . . . . . . . . : QSYS



Message . . . . : An error occurred. The error code is &1.

Cause . . . . . : An unexpected error occurred.

Recovery . . . : Report the error to IBM service.

Technical description . . . . . . . . : The error is unexpected and
should
not occur. In the event that this message is returned, report the
problem.




The first four bytes of the error structure (beyond the message ID and one
reserved byte is a binary value indicating the error code.

I would be searching for PTFs about now.

Regards,
Dennis
http://www.linkedin.com/in/dennislovelady
--
"Few things are harder to put up with than the annoyance of a good example."
-- Mark Twain


Thanks for your answers!

Removing the volatile key from the declarations and using the 'OBJN0100'
format,
updating the versionvariable to have 10 characters , I have the Error:
CPFB006 , and the Error code sections returns 16,
how can I read this error meaning ?

1. int main() {
2.     char path [50];
3.     strcpy(path, "/QIBM/USERDATA/ICSS/CERT/SERVER/DEFAULT.KDB");
4.
5.     int pathLength;
6.     pathLength = strlen(path);
7.     char format [20];
8.     strcpy(format, "OBJN0100");
9.
10.     char pwd [50];
11.     strcpy(pwd, "fyi");
12.     int pwdLength;
13.     pwdLength = strlen(pwd);
14.
15.     int ccsid;
16.     ccsid = 850;
17.     char exportPath [50];
18.     strcpy(exportPath, "/home/me/export.pcks");
19.
20.     int exportLength;
21.     exportLength = strlen(exportPath);
22.
23.     char formatExport[20];
24.     strcpy(formatExport, "OBJN0100");
25.     char version [20];
26.     strcpy(version, "*PKCS12V3 ");
27.     char pwdExport [20];
28.     strcpy(pwdExport, "ryl");
29.
30.     int expLength;
31.     expLength = strlen(pwdExport);
32.
33.
34.     void * temp = (void *) &errorCode;
35.
36.     QykmExportKeyStore(path,
37.             &pathLength,
38.             format,
39.             pwd,
40.             &pwdLength,
41.             &ccsid,
42.             exportPath,
43.             &exportLength,
44.             formatExport,
45.             version,
46.             pwdExport,
47.             &expLength,
48.             &ccsid,
49.             &errorCode);
50. ...
51. }
--
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.