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

RETURN CODE = 8 CON JCL


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

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Fri Mar 14, 2014 6:02 am
Reply with quote

Hi! I'm trying to compile a cobol program with the DFHYITVL JCL but at the end I recieve a mesage that say RETURN CODE = 8, the object program is generated but I can not execute it because the CEMT instruction fail in the last step (CEMT S PROG(NAME)) LOAD FAILED. I send to you the images that I think can help you to understand what I say.

Thanks a lot for your help.
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Fri Mar 14, 2014 3:21 pm
Reply with quote

Please post the SYSPRINT output of your LKED step.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Mar 14, 2014 3:39 pm
Reply with quote

and do not use attachments ...
not everybody can see/download them

do not use screen shots they waste space ...
a plain text cut and past is more than enough!

and last ...
do not reinvent Your compile jcls
use those provided by Your organization
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Sat Mar 15, 2014 1:39 am
Reply with quote

Send you the SYSPRINT output. thanks
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY COMPCICS JOB00769 DSID 105 LINE 0 COLUMNS 02- 81
COMMAND INPUT ===> SCROLL ===> CSR
********************************* TOP OF DATA **********************************
z/OS V1 R10 BINDER 17:15:04 WEDNESDAY MARCH 12, 2014
BATCH EMULATOR JOB(COMPCICS) STEP(CICSCOB ) PGM= IEWL PROCEDURE(LKED )
IEW2278I B352 INVOCATION PARAMETERS - LIST,XREF

IEW2322I 1220 1 INCLUDE SYSLIB(DFHELII)
IEW2322I 1220 2 NAME HOLACICS(R)
IEW2326E 1221 THE FOLLOWING INVALID RECORD HAS BEEN SEEN:
NAME HOLACICS(R)


C R O S S - R E F E R E N C E T A B L E
_________________________________________

TEXT CLASS = B_TEXT

--------------- R E F E R E N C E -------------------------- T A R G E T ---
CLASS ELEMENT |
OFFSET SECT/PART(ABBREV) OFFSET TYPE | SYMBOL(ABBREV) SECTION (ABB
|
78 HOLACICS 50 V-CON | IGZCBSO IGZCBSO
E2 HOLACICS BA V-CON | CEESTART CEESTART
102 HOLACICS DA V-CON | CEESTART CEESTART
106 HOLACICS DE V-CON | CEEBETBL CEEBETBL
158 HOLACICS 130 V-CON | DFHEI1 DFHELII
6EC CEEBETBL 4 V-CON | CEEBXITA $UNRESOLVED(
6F0 CEEBETBL 8 V-CON | CEEBINT CEEBINT
6F4 CEEBETBL C V-CON | CEEBLLST CEEBLLST
6F8 CEEBETBL 10 V-CON | CEEUOPT $UNRESOLVED(
6FC CEEBETBL 14 V-CON | CEEBTRM CEEBTRM
704 CEEBETBL 1C V-CON | CEEBPUBT CEEBPUBT
708 CEEBETBL 20 V-CON | IEWBLIT $UNRESOLVED(
76C CEESTART 5C A-CON | CEEMAIN $UNRESOLVED(
77C CEESTART 6C C-LEN | $NON-RELOCAT
7A8 CEESTART 98 A-CON | CEEFMAIN $UNRESOLVED(
7B4 CEESTART A4 A-CON | CEEBETBL CEEBETBL
7B8 CEESTART A8 A-CON | CEEROOTA $UNRESOLVED(
7BC CEESTART AC A-CON | CEEROOTD $UNRESOLVED(
CB8 IGZCBSO 4F8 V-CON | IGZEOPT $UNRESOLVED(
================================================================================
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY COMPCICS JOB00769 DSID 105 LINE 39 COLUMNS 02- 81
COMMAND INPUT ===> SCROLL ===> CSR
CBC IGZCBSO 4FC V-CON | IGZETUN $UNRESOLVED(
CC0 IGZCBSO 500 V-CON | CEEINT CEEBPIRA
CC4 IGZCBSO 504 V-CON | CEEARLU CEEARLU
1028 CEEBPIRA 230 A-CON | CEEBPUBT CEEBPUBT
1254 CEEBTRM 6C A-CON | CEEBPUBT CEEBPUBT
12A0 CEEBLLST 10 A-CON | CEESG000 $UNRESOLVED(
12A4 CEEBLLST 14 A-CON | CEESG001 $UNRESOLVED(
12A8 CEEBLLST 18 A-CON | CEESG002 $UNRESOLVED(
12AC CEEBLLST 1C A-CON | CEESG003 $UNRESOLVED(
12B0 CEEBLLST 20 A-CON | CEESG004 $UNRESOLVED(
12B4 CEEBLLST 24 A-CON | CEESG005 CEESG005
12B8 CEEBLLST 28 A-CON | CEESG006 $UNRESOLVED(
12BC CEEBLLST 2C A-CON | CEESG007 $UNRESOLVED(
12C0 CEEBLLST 30 A-CON | CEESG008 $UNRESOLVED(
12C4 CEEBLLST 34 A-CON | CEESG009 $UNRESOLVED(
12C8 CEEBLLST 38 A-CON | CEESG010 $UNRESOLVED(
12CC CEEBLLST 3C A-CON | CEESG011 $UNRESOLVED(
12D0 CEEBLLST 40 A-CON | CEESG012 $UNRESOLVED(
12D4 CEEBLLST 44 A-CON | CEESG013 $UNRESOLVED(
12D8 CEEBLLST 48 A-CON | CEESG014 $UNRESOLVED(
12DC CEEBLLST 4C A-CON | CEESG015 $UNRESOLVED(
12E0 CEEBLLST 50 A-CON | CEESG016 $UNRESOLVED(
*** E N D O F C R O S S R E F E R E N



PROCESSING OPTIONS:

ALIASES NO
ALIGN2 NO
AMODE UNSPECIFIED
CALL YES
CASE UPPER
COMPAT UNSPECIFIED
COMPRESS AUTO
DCBS NO
DYNAM NO
EXTATTR UNSPECIFIED
EXITS: NONE
================================================================================
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY COMPCICS JOB00769 DSID 105 LINE 78 COLUMNS 02- 81
COMMAND INPUT ===> SCROLL ===> CSR
FILL NONE
GID UNSPECIFIED
HOBSET NO
INFO NO
LET 04
LINECT 060
LIST SUMMARY
LISTPRIV NO
MAP NO
MAXBLK 032760
MODMAP NO
MSGLEVEL 00
OVLY NO
PRINT YES
RES NO
REUSABILITY UNSPECIFIED
RMODE UNSPECIFIED
STORENX NOREPLACE
STRIPCL NO
STRIPSEC NO
TERM NO
TRAP ON
UID UNSPECIFIED
UPCASE NO
WKSPACE 000000K,000000K
XCAL NO
XREF YES
***END OF OPTIONS***



SAVE OPERATION SUMMARY:

MEMBER NAME HOLACICS
LOAD LIBRARY IBMUSER.LOCOS.OBJETOS
PROGRAM TYPE PROGRAM OBJECT(FORMAT 2)
VOLUME SERIAL ZADB82
DISPOSITION REPLACED
TIME OF SAVE 17.15.07 MAR 12, 2014
================================================================================
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY COMPCICS JOB00769 DSID 105 LINE 117 COLUMNS 02- 81
COMMAND INPUT ===> SCROLL ===> CSR


SAVE MODULE ATTRIBUTES:

AC 000
AMODE 31
COMPRESSION NONE
DC NO
EDITABLE YES
EXCEEDS 16MB NO
EXECUTABLE NO
MIGRATABLE YES
OL NO
OVLY NO
PACK,PRIME NO,NO
PAGE ALIGN NO
REFR NO
RENT NO
REUS NO
RMODE ANY
SCTR NO
SSI
SYM GENERATED NO
TEST NO
XPLINK NO
MODULE SIZE (HEX) 000012F8
DASD SIZE (HEX) 00006000





ENTRY POINT AND ALIAS SUMMARY:

NAME: ENTRY TYPE AMODE C_OFFSET CLASS NAME STATUS

HOLACICS MAIN_EP 31 00000028 B_TEXT

***** E N D O F R E P O R T *****
================================================================================
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY COMPCICS JOB00769 DSID 105 LINE 156 COLUMNS 02- 81
COMMAND INPUT ===> SCROLL ===> CSR




z/OS V1 R10 BINDER 17:15:04 WEDNESDAY MARCH 12, 2014
BATCH EMULATOR JOB(COMPCICS) STEP(CICSCOB ) PGM= IEWL PROCEDURE(LKED )
IEW2008I 0F03 PROCESSING COMPLETED. RETURN CODE = 8.



----------------------
MESSAGE SUMMARY REPORT
----------------------
TERMINAL MESSAGES (SEVERITY = 16)
NONE

SEVERE MESSAGES (SEVERITY = 12)
NONE

ERROR MESSAGES (SEVERITY = 08)
2326

WARNING MESSAGES (SEVERITY = 04)
NONE

INFORMATIONAL MESSAGES (SEVERITY = 00)
2008 2278 2322


**** END OF MESSAGE SUMMARY REPORT ****

******************************** BOTTOM OF DATA ********************************
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Mar 15, 2014 1:44 am
Reply with quote

Code:
IEW2326E 1221 THE FOLLOWING INVALID RECORD HAS BEEN SEEN:
NAME HOLACICS(R)


why not look Yourself at the manuals to see the meaning of the message
and the suggestions on how to fix the error???
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Sat Mar 15, 2014 3:06 am
Reply with quote

Thanks a lot my friend Enrico with this was enough to find the mistake, the name of the record was not in the right place.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sat Mar 15, 2014 5:06 pm
Reply with quote

By the way - you had successfully compiled your program. It was the link/bind that had failed.
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Sat Mar 15, 2014 11:20 pm
Reply with quote

Yes you are right Nic, I tougth that with the compilation complete it would work but not I still have the link failure, I hope someone can help me. Beginner in trouble.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 16, 2014 3:36 am
Reply with quote

Hello,

Is there a new error or has the original error not yet been corrected?
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Sun Mar 16, 2014 4:06 am
Reply with quote

Hi dick, the original error remains. CEMT S PROG(NAME) NEW send me the message Load failed.

Thanks for your help.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 16, 2014 4:28 am
Reply with quote

Hello,

Code:
IEW2326E 1221 THE FOLLOWING INVALID RECORD HAS BEEN SEEN:
 NAME HOLACICS(R)
If this still happens, it needs to be fixed before you continue . . .
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Sun Mar 16, 2014 4:55 am
Reply with quote

Hello, thanks for the observation, but these was the mistake that the program has, I corrected it already but the CEST problem remains.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 16, 2014 6:05 am
Reply with quote

Hello,

Quote:

I corrected it already but the CEST problem remains.

I suspect you mean CEMT. What is returned

Quote:
CEMT S PROG(NAME) NEW send me the message Load failed.
There should be some other info presented that is more specific as to why the command failed. I suspect it is because there is not an executable load module.
Code:

MESSAGE SUMMARY REPORT
 ----------------------
 TERMINAL MESSAGES (SEVERITY = 16)
 NONE

 SEVERE MESSAGES (SEVERITY = 12)
 NONE

 ERROR MESSAGES (SEVERITY = 08)
 2326

 WARNING MESSAGES (SEVERITY = 04)
 NONE

 INFORMATIONAL MESSAGES (SEVERITY = 00)
 2008 2278 2322


 **** END OF MESSAGE SUMMARY REPORT ****


Have the corrections corrected these? You need to make sure there is a clean link before you issue the CEMT.
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Sun Mar 16, 2014 11:01 am
Reply with quote

Sorry, yes you're right it's CEMT, and the MESSAGE SUMMAR REPORT is clean with NONE in all messages. Thanks for your time and help.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun Mar 16, 2014 11:57 pm
Reply with quote

Maybe the load module is not in a library known to CICS?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 17, 2014 5:15 am
Reply with quote

Or possibly there is a "bad" module in an earlier dataset in the library concatenation . . .
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Mon Mar 17, 2014 11:25 am
Reply with quote

Not to much I'm trying to learn all of this, please tell me about the load module. Thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 17, 2014 6:39 pm
Reply with quote

Hello,

If you do not know about load modules, you should maybe start with a simple "hello world" in a batch program instead of CICS.

You need to speak with someone who has compiled and run programs on your system. They will know the specifics of your environment, no one here knows your enviroment.

Also, we are ready to help with technical questions/problems, but we do not have the resources to actuall teach this (programming) from scratch.

As you are a beginner, suggest you consider our sister forum which is for beginners and students.
www.ibmmainframeforum.com/index.php
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Tue Mar 18, 2014 2:43 am
Reply with quote

Hi dick, I did that already, that's because I'm trying to compile a Cobol program with CICS, I think if I can do that I can continue practicing with this tech, all I want to know is why Fail the Load of the program with CICS and CEMT.

Thanks.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Tue Mar 18, 2014 4:27 am
Reply with quote

Please look at sequence of load libs given for DFHRPL step in your CICS region job against the load lib given by you in your compiled job.

I suspect the load lib given by you was never being used in DFHRPL step.If it used then check the properties of the load dataset used by your compiled job against the other load libs in your current system and if they are not same then make it same.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Tue Mar 18, 2014 6:43 am
Reply with quote

This might needs to move under CICS forum
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Tue Mar 18, 2014 11:01 am
Reply with quote

Yes I think so.
Back to top
View user's profile Send private message
Julio Cesar Alarcon

New User


Joined: 25 Feb 2014
Posts: 11
Location: México

PostPosted: Thu Mar 20, 2014 1:57 am
Reply with quote

Hi Rohit, thanks for your help and thanks everybody, I have load the datasaet where my cobol object program recides in the DFHRPL step and voala it Works.

Thanks to all.
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top