Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compilation Error in Translation Step.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
amitc23

New User


Joined: 05 Nov 2014
Posts: 78
Location: India

PostPosted: Tue Mar 01, 2016 12:24 pm    Post subject: Compilation Error in Translation Step.
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Tue Mar 01, 2016 1:28 pm    Post subject: Reply to: Compilation Error in Translation Step.
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: 78
Location: India

PostPosted: Tue Mar 01, 2016 1:41 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Tue Mar 01, 2016 3:19 pm    Post subject: Reply to: Compilation Error in Translation Step.
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: 78
Location: India

PostPosted: Tue Mar 01, 2016 3:28 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us