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



    DCL  &USRSPC      *CHAR  20  /* Qualified name of User space     */
    DCL  &FORMAT      *CHAR   8  /* User space format name           */
    DCL  &OBJNAME     *CHAR  20  /* Qualified object name            */
    DCL  &ObjType     *char   7  /* Type of object to free locks on  */
    DCL  &MBRNAME     *CHAR  10  /* Member name                      */
    DCL  &ERRORAREA   *CHAR  16  /* Error code from comm status      */
    DCL  &ERRORCODE   *CHAR   7  /* Error code from comm status      */
...
             CALL       PGM(QWCLOBJL) +
                        PARM(&USRSPC +
                             &FORMAT +
                             &OBJNAME +
                             &OBJTYPE +
                             &MBRNAME +
                             &ERRORAREA)
...
             CHGVAR     VAR(&ERRORCODE) VALUE(%SST(&ERRORAREA 9 7))
results in CPF3C31-Invalid object type

*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....
 &USRSPC                  *CHAR           20       'QWCLOBJL  QTEMP     ' 
 &FORMAT                  *CHAR            8       'OBJL0100'
 &OBJNAME                 *CHAR           20       'ROB2      QSYS      '
 &OBJTYPE                 *CHAR            7       '*LIB   ' 
 &MBRNAME                 *CHAR           10       '*NONE     '
 &ERRORCODE               *CHAR            7       'CPF3C31' 
 &ERRORAREA               *CHAR           16       '        CPF3C310'
Value of &ERRORAREA in Hexadecimal 
* . . . + . . . . 1 . . . . + . 
000000100000001AC3D7C6F3C3F3F1F0

I can try this for other object types and get the same message.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.