View previous topic :: View next topic
|
Author |
Message |
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
Hi
I am getting return code 0008 while compiling a CICS module. The error is in TRN (Translation) Step and it says
Code: |
MESSAGE NUMBER SEVERITY LINE NUMBER MESSAGE
DFH7053I C 00175 OPTION 'LENGTH' IS NOT VALID AND IS IGNORED. |
Surprisingly I wrote another new (CICS/COBOL) program and compiled and it went fine.
I am not able to understand the difference .
Thanks
Code'd |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Post, using the code tags, line 175 and the few lines around it. |
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
Code: |
000172C 011900 10 COMM-LOCAL-REDEFINABLE-AREA PIC X(235
5655-S71 IBM ENTERPRISE COBOL FOR Z/OS 4.2.0 XXOPP810 DATE 0
LINEID PL SL ----+-*A-1-B--+----2----+----3----+----4----+----5----+----6--
000174 005530
000175 005600 01 DebuggingSwitch PIC X VALUE 'F'.
000176 005700 88 DebugOn VALUE 'T', '1',
000177 005800 88 Debugoff VALUE 'F', '0'.
000178 005900 88 Debug1 VALUE '1', '3'.
000179 006000 88 Debug2 VALUE '2', '3'.
000180 006100 88 Debug3 VALUE '3'.
000181 006200
5655-S71 IBM ENTERPRISE COBOL FOR Z/OS 4.2.0 XXOP810 DATE 0
LINEID PL SL ----+-*A-1-B--+----2----+----3----+----4----+----5----+----6--
000183 006400********************************************************
000184
000185 01 dfhb0020 comp pic s9(4) is global.
000186 01 dfhb0021 comp pic s9(4) is global.
000187 01 dfhb0022 comp pic s9(4) is global.
000188 01 dfhb0023 comp pic s9(4) is global.
000189 01 dfhb0024 comp pic s9(4) is global.
000190 01 dfhb0025 comp pic s9(4) is global.
000191 01 dfhc2550 pic x(255) is global.
000192 01 dfhc2551 pic x(255) is global.
000193 01 dfhc2552 pic x(255) is global.
000194 01 dfhc2553 pic x(255) is global.
000195 01 dfhc2460 pic x(246) is global.
000196 006500 LINKAGE SECTION.
000197 006600********************************************************
000198 01 dfheiblk.
000199 02 eibtime comp-3 pic s9(7).
000200 02 eibdate comp-3 pic s9(7).
000201 02 eibtrnid pic x(4).
000202 02 eibtaskn comp-3 pic s9(7).
000203 02 eibtrmid pic x(4).
|
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
That's the COBOL compile listing. Are you using the integrated translator? Or a separate step (I think the latter)? You need the output from the step before the compile. The copybook (and any others) will cause different line-numbers to be used for the compile.
There's something wrong with an EXEC CICS statement that includes the word LENGTH. |
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
Thanks Bill. That Helps. I coded LENGTH while doing STARTBR on a dataset, which was causing this. Now I have corrected and compilation was ok. |
|
Back to top |
|
|
|