Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageOn 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.
Post Follow-up to this messageAccording 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 >
Post Follow-up to this messageThank 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....
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.