IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compilation Error in Translation Step.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Tue Mar 01, 2016 12:24 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Tue Mar 01, 2016 1:28 pm
Reply with quote

Post, using the code tags, line 175 and the few lines around it.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Tue Mar 01, 2016 1:41 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Tue Mar 01, 2016 3:19 pm
Reply with quote

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
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Tue Mar 01, 2016 3:28 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Secondary index error while loading d... IMS DB/DC 2
No new posts Execute step regardless of previous s... JCL & VSAM 2
No new posts Error 0C1 Reason Code 1 with branch i... PL/I & Assembler 3
No new posts Getting error while xped JCL & VSAM 10
No new posts XYplorer - EBCDIC to ASCII translatio... All Other Mainframe Topics 0
Search our Forums:

Back to Top