CICS-COBOL COMPILE PROBLEM



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

CICS-COBOL COMPILE PROBLEM

Postby CPANTX » Sat Aug 21, 2010 4:00 pm

I am compiling cics-cobol program and getting this error:

06.16.22 JOB11881 $HASP165 CPANTXJ ENDED AT N1 MAXCC=4 CN(INTERNAL).

Now, doing TSO SDSF ST, I found the following:
JESMSGLG JES2                 2 CPANTX   H LOCAL 
 JESJCL   JES2                 3 CPANTX   H LOCAL 
 JESYSMSG JES2                 4 CPANTX   H LOCAL 
 SYSPRINT COBS1    TRN       102 CPANTX   H LOCAL 
 SYSPRINT COBS1    COB       103 CPANTX   H LOCAL 
 SYSPRINT COBS1    COPYLINK  104 CPANTX   H LOCAL 
 SYSPRINT COBS1    LKED      105 CPANTX   H LOCAL

Now, I have 2 questions:
1. Where to look for error msgs. I look at each of the above statements.
2. Looking in SYSPRINT COBS1 TRN 102 CPANTX H LOCAL , I found the following:
DFH7010I W INVALID OPTION STRING:- 'COBOL' IGNORED.

How to get around this problem.

Thanks.
CPANTX
 
Posts: 14
Joined: Sat Mar 21, 2009 11:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CICS-COBOL COMPILE PROBLEM

Postby Robert Sample » Sat Aug 21, 2010 7:55 pm

Take the COBOL parameter out of the translate step JCL PARM= would be the easiest way to fix the problem. Many times the translator output is not sent to a spool since it is the input for the compiler. Which is good until you get a translator error and need to see what it is.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: CICS-COBOL COMPILE PROBLEM

Postby DieZ » Mon Aug 23, 2010 9:13 pm

Compilation ended with MAXCC=4 ? Isn't that safe enough ? After all, the steps for link-editing has been executed.
DieZ
 
Posts: 15
Joined: Sat Aug 21, 2010 11:03 am
Has thanked: 0 time
Been thanked: 0 time

Re: CICS-COBOL COMPILE PROBLEM

Postby Robert Sample » Mon Aug 23, 2010 10:43 pm

A condition code of 4 means one (or more) step(s) -- you must look at your job to determine which -- generated what are typically called warning messages. While the program may work precisely as expected, it also may not, depending upon what the warning is for. It is not a good thing to assume that a condition code of 4 means everything is good and just run the program. For example, COBOL generates a warning message for data truncation -- so if this program is calculating YOUR salary, is it okay to leave off a leading digit or two? Ignoring the warning message may cause that to happen.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: CICS-COBOL COMPILE PROBLEM

Postby DieZ » Tue Aug 24, 2010 10:07 pm

If it was to calculate my salary, I would ensure that, the link-edit step runs with COND=(0,LT). Don't want to assume anything...? Then, write proper COND in job steps !
DieZ
 
Posts: 15
Joined: Sat Aug 21, 2010 11:03 am
Has thanked: 0 time
Been thanked: 0 time

Re: CICS-COBOL COMPILE PROBLEM

Postby Robert Sample » Tue Aug 24, 2010 10:13 pm

Compilation ended with MAXCC=4 ? Isn't that safe enough ? After all, the steps for link-editing has been executed.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post