Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

S013-C0 while compiling OO COBOL program using a job step.
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


Report this thread to moderator Post Follow-up to this message
Old Post
cogitoergosum
07-08-07 12:55 PM


Re: S013-C0 while compiling OO COBOL program using a job step.
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Alistair
07-08-07 11:55 PM


Re: S013-C0 while compiling OO COBOL program using a job step.
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 th
ose
differences look like they MIGHT make a difference.  For example, does "user
id"
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 t
hen
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
>



Report this thread to moderator Post Follow-up to this message
Old Post
William M. Klein
07-08-07 11:55 PM


Re: S013-C0 while compiling OO COBOL program using a job step.
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....


Report this thread to moderator Post Follow-up to this message
Old Post
cogitoergosum
07-10-07 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:30 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.