ERROR CCN3275 in IBM sample code
Posted: Tue May 26, 2009 6:23 pm
I've never compiled a C program unde z/os before. These are the error messages I am getting:
ERROR CCN3275 KQKTEMP.$TSO.WORK(GIMHC370):2 Unexpected text '/' encountered.
ERROR CCN3275 KQKTEMP.$TSO.WORK(GIMHC370):4 Unexpected text '/' encountered.
ERROR CCN3275 KQKTEMP.$TSO.WORK(GIMHC370):6 Unexpected text '/' encountered.
This is the code. There are only comments before these lines.
This is a sample program supplied from IBM so I don't understand why it is getting the syntax errors.
ERROR CCN3275 KQKTEMP.$TSO.WORK(GIMHC370):2 Unexpected text '/' encountered.
ERROR CCN3275 KQKTEMP.$TSO.WORK(GIMHC370):4 Unexpected text '/' encountered.
ERROR CCN3275 KQKTEMP.$TSO.WORK(GIMHC370):6 Unexpected text '/' encountered.
This is the code. There are only comments before these lines.
000028 /********************************************************************/ .
000029 #define LEN_ETYPE 12 .
000030 #define LEN_MSG 256 .
000031 typedef _Packed struct QUERY_PARMS /* Parameters for QUERY command */ .
000032 { .
000033 char *csi; /* PTR to global CSI dataset */ .
000034 long csilen; /* Length of data set name */ .
000035 char *zone; /* PTR to list of zones */ .
000036 long zonelen; /* Length of zone list */ .
000037 char *entrytype; /* PTR to list of entries */ .
000029 #define LEN_ETYPE 12 .
000030 #define LEN_MSG 256 .
000031 typedef _Packed struct QUERY_PARMS /* Parameters for QUERY command */ .
000032 { .
000033 char *csi; /* PTR to global CSI dataset */ .
000034 long csilen; /* Length of data set name */ .
000035 char *zone; /* PTR to list of zones */ .
000036 long zonelen; /* Length of zone list */ .
000037 char *entrytype; /* PTR to list of entries */ .
This is a sample program supplied from IBM so I don't understand why it is getting the syntax errors.