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

C Compiler


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
umakanth.ravirala

New User


Joined: 04 Sep 2007
Posts: 15
Location: Halifax, United Kingdom

PostPosted: Thu Nov 29, 2007 9:25 pm
Reply with quote

Hi tried to compile a simple C program. I used a compiler which is taken from SYS1.COMPILER library. I'm getting an error like " 2 IEFC612I PROCEDURE EDCCLG WAS NOT FOUND "

and below is my CODE (Iam not including the job details here)
Code:

//RUN      EXEC EDCCLG,                                       
//          INFILE='CPGM.INPUT',DISP=SHR             
//          OUTFILE='CPGM.CLOAD',DISP=(NEW,CATLG,DELETE),
//                         DCB  parameters 
//SYSUT1    DD SYSOUT=*                                       
/*                                                             
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: Fri Nov 30, 2007 4:17 am
Reply with quote

Hello,

You should talk with your system support people and they can show you the necessary jcl and libraries to be used on your system.

The error you received is because you named a proc that is either mis-spelled or in a different library than your job accessed.

How did you find this PROCedure name (EDCCLG)?
Back to top
View user's profile Send private message
umakanth.ravirala

New User


Joined: 04 Sep 2007
Posts: 15
Location: Halifax, United Kingdom

PostPosted: Thu Dec 27, 2007 10:13 pm
Reply with quote

hi

I could compile, linkedit and run the C program using EDCCLG

But iam unable to pass inputs for a C program from JCL
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 27, 2007 10:38 pm
Reply with quote

First you should understand the structure of EDCCLG proc.
Then only you can pass the input through Parameters.

Look at the documentation for EDCCLG...
or Similar run JCL from your shop?

Anyway you can get the sample JCl from System Support People.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Compiler and run JCL for basic PL/I p... PL/I & Assembler 10
No new posts Pre-Compiler Bug with DSNH520I message? DB2 1
No new posts pre-compiler for program in an HFS DB2 0
No new posts Who can recomend or to know a PL1 com... DB2 4
Search our Forums:

Back to Top