Patch-ID# 102713-04 Keywords: cmrecv suncpic.h sunlu62.h compilation header cpic calls Synopsis: SunLink SNA Peer-to-Peer (API) 9.0: CPIC header compilation error Date: Aug/06/97 Solaris Release: 2.3 2.4 2.5 SunOS Release: 5.3 5.4 5.5 Unbundled Product: SunLink SNA Peer-to-Peer Unbundled Release: 9.0 Relevant Architectures: sparc BugId's fixed with this patch: 1221363 1221850 1212827 1232760 1243576 1262948 4058686 4053779 1221363 1221850 1212827 1232760 1243576 1262948 Changes incorporated in this version: 4058686 4053779 1232760 1243576 1262948 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 102874-06 102312-08 Obsoleted by: Files included with this patch: SUNWappc/cpic_calls SUNWappc/liblu62.a SUNWappc/libsunp2p.a SUNWappc/lu62_convert.c SUNWappc/sun_general.h SUNWappc/suncpic.h SUNWappc/sunlu62.h SUNWappc/examples/Makefile SUNWappc/examples/copr_calls.c SUNWappc/examples/cpic_ft.c SUNWappc/examples/cpic_ft.h SUNWappc/examples/cpic_get_file.c SUNWappc/examples/cpic_put_file.c SUNWappc/examples/cpic_rs.c SUNWappc/examples/cpic_sr.c SUNWappc/examples/tp_calls.c SUNWappc/examples/tp_listen.c SUNWappc/examples/tp_rs.c SUNWappc/examples/tp_sr.c SUNWappc/examples/util62.c Problem Description: RELEASE -04 BugId: 4058686 The problem is CICI has defined bind password and we did not respond bnd password in BIND response BugId: 4053779 The latest liblu62.so we got from you is using brxlu62l_ as API trace file name, it should be sunlu62l_. The problem fixed in sunp2p library. The library wil convert IBM specific server EBCDIC TP names. Original code should work with EBCDIC TP name. tp_iso field should be set to zero when using with EBCDIC TP name. Changed following CPIC verbs behavior to make it standard to CPIC as well as to behave similar to SunLink 8.0 CPIC API. 1. LU62_OPEN/ CMOPEN Earlier this verbs were mandatory, made it non mandatory. 2. CMSLTP Made this non mandatory CPIC 2.0 (not available in 1.0) verb. 3. setenv APPC_LOCAL_LU/CMOPEN This setenv can replace CMOPEN but we do not need this. All the information for CMOPEN can be found in side_info file. We should not need to specify the local lu for cminit. 4. CM_RECEIVE Return value of CM_RECEIVE is made standard. 5. XCECST, XCECSU, XCSCSP, XCSCST, and XCSCSU have beend redefined to CMECST, CMECSU, CMSCSP, CMSCST and CMSCSU. This will require customer to recompile all their applications. 6. Ebcdic string for tp name in side_info file. Added links to shared libraries liblu62.so libsunp2p.so which reside in /opt/SUNWlu62 directory. RELEASE -03 Bugid: 1232760 In 8.0 lu62 API, user can specify tp name either ascii or ebcdic string in mc_allocate(or allocate) verb. There is a bug in 9.0 API conversion that it always takes tp_name as ASCII string and converts to ebcdic string. RELEASE -02 The following bug is fixed in this patch: Bugid:122136 primary problem is the non-standard CPIC implementation for the cmrcv() verb. The data buffer and the data _received status do properly reflect what I expect to see. The problem is the status_received variable is not being returned as expected. Bugid: 1221850 CPI-C verb CM_RECEIVE returns non-standard value. RELEASE -01 Changed all references from Brx to Sun. Removed compilation indiscrepancies. Prepared new libraries with updated header files. BugId: 1212827 Sun CPIC header files give compilation errors. Here is a list of the corrections I had to make to the Sun CPIC header files to get my compiles working : 1) made a symbolic link from brx_general.h to sun_general.h, since included brx_general.h. I could also have changed sunlu62.h to include sun_general.h, I'm not sure which way it is intended (likely using sun_general.h, since all the other include files seem to start with 'sun') 2) Line 167 and 267 of sunlu62.h have typo's - the last entry in the enumerated type immediately preceeding the closing brace '}' should NOT have ',' following them. 3) In suncpic.h I changed the value of several IFDEF's - at line 285 which read #if 0 /* defined(__STDC__) */ I removed the comments and changed it to #if defined(__STDC__). At line 780 I changed #if 1 to #if 0 so that the code would use the #else which was commented for (__STDC__). Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions appended to this section. Other specific or unique installation instructions may also be necessary and should be described below. Special Install Instructions: ----------------------------- None.