For Programmers: Free Programming Magazines  


Home > Archive > Cobol > July 2007 > S013-C0 while compiling OO COBOL program using a job step.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author S013-C0 while compiling OO COBOL program using a job step.
cogitoergosum

2007-07-08, 7:55 am

Hi,
I am trying to compile my OO COBOL program on z/OS using JCL. The
program has been written in a HFS file. I am getting this message :

IEC141I 013-C0,IGG0199G,S611204C,STEP1,SYSJAVA
ACCESS INTENT(RW-) ACCESS ALLOWED(OWNER ---)
EFFECTIVE UID(0000000237) EFFECTIVE GID(0000000191)

whereas, in the JCL I have,

//SYSJAVA DD PATH='/u/userid/java/&SRC..java',
// PATHOPTS=(ORDWR,OCREAT,OTRUNC),
// PATHDISP=KEEP,
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)

also, I have set the options of /u/userid/java to 777 (!).

Can someone please tell me why this error is happenning and how do I
resolve it ?

Regards,
Nagesh

Alistair

2007-07-08, 6:55 pm

On 8 Jul, 04:37, cogitoergosum <NageshBl...@gmail.com> wrote:
> Hi,
> I am trying to compile my OO COBOL program on z/OS using JCL. The
> program has been written in a HFS file. I am getting this message :
>
> IEC141I 013-C0,IGG0199G,S611204C,STEP1,SYSJAVA
> ACCESS INTENT(RW-) ACCESS ALLOWED(OWNER ---)
> EFFECTIVE UID(0000000237) EFFECTIVE GID(0000000191)
>
> whereas, in the JCL I have,
>
> //SYSJAVA DD PATH='/u/userid/java/&SRC..java',
> // PATHOPTS=(ORDWR,OCREAT,OTRUNC),
> // PATHDISP=KEEP,
> // PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
>
> also, I have set the options of /u/userid/java to 777 (!).
>
> Can someone please tell me why this error is happenning and how do I
> resolve it ?
>
> Regards,
> Nagesh


According to notes that I have for S013 errors (not your particular
one) the most likely error is an INVALID DCB, ie your program and JCL
have different record sizes/block sizes/blocking formats, etc.

A look at the IBM JCL manual should have told you this.

William M. Klein

2007-07-08, 6:55 pm

According to
http://publibz.boulder.ibm.com/cgi-...gy3pg32/2.3.2.1

SYSJAVA is an output file for the class library information. It has:

//SYSJAVA DD PATH='/u/userid/java/Classname.java',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU,
// FILEDATA=TEXT

while you have

> //SYSJAVA DD PATH='/u/userid/java/&SRC..java',
> // PATHOPTS=(ORDWR,OCREAT,OTRUNC),
> // PATHDISP=KEEP,
> // PATHMODE=(SIRWXU,SIRWXG,SIRWXO)


I haven't created ".java" files from a COBOL compile myself, but some of those
differences look like they MIGHT make a difference. For example, does "userid"
in italics in the sample meant that you are supposed to provide a real
(existing) USERID?

http://publibz.boulder.ibm.com/cgi-...gy3pg32/2.1.4.8

has another example that doesn't look like yours. The missing

FILEDATA=TEXT

might also explain a DCB problem.

***

Again, I have never done this, so what I am pointing to may be "totally
irrelevant". However, I would start by trying to use the example JCL - and then
move from there.

--
Bill Klein
wmklein <at> ix.netcom.com
"cogitoergosum" <NageshBlore@gmail.com> wrote in message
news:1183865841.370590.64680@n2g2000hse.googlegroups.com...
> Hi,
> I am trying to compile my OO COBOL program on z/OS using JCL. The
> program has been written in a HFS file. I am getting this message :
>
> IEC141I 013-C0,IGG0199G,S611204C,STEP1,SYSJAVA
> ACCESS INTENT(RW-) ACCESS ALLOWED(OWNER ---)
> EFFECTIVE UID(0000000237) EFFECTIVE GID(0000000191)
>
> whereas, in the JCL I have,
>
> //SYSJAVA DD PATH='/u/userid/java/&SRC..java',
> // PATHOPTS=(ORDWR,OCREAT,OTRUNC),
> // PATHDISP=KEEP,
> // PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
>
> also, I have set the options of /u/userid/java to 777 (!).
>
> Can someone please tell me why this error is happenning and how do I
> resolve it ?
>
> Regards,
> Nagesh
>



cogitoergosum

2007-07-10, 3:55 am

Thank you, Bill !

That took care of the S013-C0.

But, now I have MAXCC=12, because "apparently" I have Non-COBOL
characters all over my source code ! When I do a HEX ON on HFS file
having COBOL source, I see spaces, X'40'. But, somehow, it is being
mis-interpreted by the compiler. I tried FILEDATA=TEXT for SYSIN.
Didn't work.

Would you know how to get around this one ?

Regards,
Nags.

PS: Meanwhile, going through the manual....

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com