Your best bet is to contact the vendor and get a copy of the module from


-----Original Message-----
From: []On Behalf
Of Chris Beck
Sent: Thursday, November 21, 2002 2:14 PM
Subject: [C400-L] Module recreate problem.

I have a vender package with a C module that I need to Recreate because they
did not leave a copy of it around.  I need to do this because I have
modified another Module that it is bound with it in a program. I would do a
UPDPGM but they specified ALWUPD(*NO).

I have not modified the C program.    When I try to compile it I get 2
"CZM0198 #if, #else, #elif, #ifdef, #ifndef block must be ended with

In one of the includes there is the following lines of code to define a

#pragma mapinc("messages","CKALTMSG(*ALL)","both key","d _P",,"")
#include "messages"

Then in the Source that is generated from this it defienes all of the fields
in the file, and then it defines the Keys and on both of the Keys it leaves
out the #endif

typedef _Packed struct {

#ifndef __cplusplus
    decimal( 5, 0) AMID;
  _Decimal( 5, 0) AMID;
   _DecimalT< 5, 0> AMID;

#ifndef __cplusplus
    decimal( 3, 0) AMSEQN;
   _DecimalT< 3, 0> AMSEQN;
} ALTMSGFM_key_t;

I know very little  C, so hopefully I have explaned this so you can

Any help would be greatly appreciated.

Chris Beck

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-2022 by 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.