Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How can I find the compiling program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Thu Jan 08, 2009 7:03 am    Post subject: How can I find the compiling program?
Reply with quote

I did not get the compiler for PL/1 in a training MVS environment, could anyone tell me how to find it via some common commands or something else?

many thanks!

BTW, the compiler for COBOL there is DSNHPC.
Code:

//PC      EXEC PGM=DSNHPC,PARM='HOST(COBOL)',REGION=4096K


I tried PARM='HOST(PLI)' but not worked.
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Thu Jan 08, 2009 7:38 am    Post subject:
Reply with quote

Hello,

Ask the system support people "there" for compile jcl that will work on that system.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Jan 08, 2009 2:09 pm    Post subject:
Reply with quote

Quote:
BTW, the compiler for COBOL there is DSNHPC.

DSNHPC is not the Cobol compiler - it's the DB2 preprocessor for translating SQL statements. This is run BEFORE a compile step.

Garry.
Back to top
View user's profile Send private message
saubhik

New User


Joined: 21 Sep 2007
Posts: 35
Location: kolkata

PostPosted: Sat Jan 10, 2009 9:47 pm    Post subject: Reply to: How can I find the compiling program?
Reply with quote

Hi,
You can try with IKJEFT01 as you compile for normal cobol program.Or try with IKJFT01 and parm=host(pl1)
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Sun Jan 11, 2009 12:08 am    Post subject:
Reply with quote

Hello,

Quote:
You can try with IKJEFT01 as you compile for normal cobol program.Or try with IKJFT01 and parm=host(pl1)
Suggest you provide some clarification or example for this. IKJEFT01 is the terminal monitor program (or tso batch). Batch compiles are not typically done using this. . . icon_confused.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sun Jan 11, 2009 12:10 am    Post subject: Reply to: How can I find the compiling program?
Reply with quote

Quote:
You can try with IKJEFT01 ...


that' s just like saying You can do it with JCL icon_biggrin.gif
Back to top
View user's profile Send private message
debajyoti123

New User


Joined: 11 Aug 2008
Posts: 4
Location: Bangalore

PostPosted: Thu Jan 15, 2009 11:58 am    Post subject: Reply to: How can I find the compiling program?
Reply with quote

DSNHPC is a precompiler program and not a compiler program.
You can use a cateloged procedure IBMZC for this.
Use it as
//PLICOMP EXEC IBMZC

before SYSLIN and SYSIN statements.
or use the following code

Code:

//PLI      EXEC PGM=IBMZPLI,PARM='OBJECT,OPTIONS'
     //STEPLIB  DD  DSN=&LNGPRFX;.SIBMZCMP,DISP=SHR
     //         DD  DSN=&LIBPRFX;.SCEERUN,DISP=SHR
     //SYSPRINT DD  SYSOUT=*
     //SYSOUT   DD  SYSOUT=*
     //SYSLIN   DD  DSN=&&LOADSET,DISP=(MOD,PASS),UNIT=SYSALLDA,
     //             SPACE=(CYL,(1,1)),DCB=(LRECL=80,BLKSIZE=&SYSLBLK)
     //SYSUT1   DD  DSN=&&SYSUT1,UNIT=SYSALLDA,
     //             SPACE=(1024,(200,50),,CONTIG,ROUND),DCB=BLKSIZE=1024
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Thu Jan 15, 2009 5:43 pm    Post subject:
Reply with quote

I think IBMZPLI is the Visual Age PL/1 compiler, which is going to be site specific since there are other releases of PL/1 around.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Jan 15, 2009 5:48 pm    Post subject:
Reply with quote

Quote:
I think IBMZPLI is the Visual Age PL/1 compiler


We do not use Visual Age PL/1 and are using IBMZPLI as the Enterprise PL/1 compiler.

Garry.
Back to top
View user's profile Send private message
debajyoti123

New User


Joined: 11 Aug 2008
Posts: 4
Location: Bangalore

PostPosted: Thu Jan 15, 2009 6:29 pm    Post subject: Reply to: How can I find the compiling program?
Reply with quote

IBMZPLI is now Enterprise PL/I for z/os ver 3.4 compiler, and it should work fine.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Thu Jan 15, 2009 7:04 pm    Post subject:
Reply with quote

OK, time to go home -- I've learned something today already, and it's not even 9 AM yet!
Back to top
View user's profile Send private message
manmohan

New User


Joined: 31 Mar 2009
Posts: 2
Location: Delhi

PostPosted: Wed Sep 02, 2009 4:26 pm    Post subject: IBMZPLI compile error
Reply with quote

Hi i am using IBMZPLI compiler to compile PLI program and getting the return code =8
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Wed Sep 02, 2009 4:32 pm    Post subject:
Reply with quote

1. You're replying to a thread with no activity for 9 months.

2. Congratulations on your return code 8 -- you didn't ask for help, you didn't post anything about the problem, so what else can we say?
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Sep 02, 2009 4:34 pm    Post subject:
Reply with quote

Congratulations! You've got an error in your code. The compiler listing should show these toward the end of the listing.

Garry.
Back to top
View user's profile Send private message
manmohan

New User


Joined: 31 Mar 2009
Posts: 2
Location: Delhi

PostPosted: Wed Sep 02, 2009 4:39 pm    Post subject:
Reply with quote

Hi am getting GETMAIN LIMIT SET TO INSTALLATION MAXABOVE-128MB,PGMIBMZPLI error while using IBMZPLI compiling the PLI program

Using below JCL

//COMPILE EXEC PGM=IBMZPLI,REGION=256M
//STEPLIB DD DSN=SYS1.IBMZ.SIBMZCMP,DISP=SHR
//* {
//SYSLIB DD DSN=AMR.COMMON.PROD.INCLUDES,DISP=SHR
//SYSIN DD DSN=Z932328.T1677.SRC(PCI002),
// DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(TRK,(30,30)),BLKSIZE=1024
//SYSLIN DD DSN=&PLNK,DISP=(NEW,PASS),UNIT=SYSDA,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200),
// SPACE=(CYL,(1,5))
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//*
// IF (COMPILE.RC GT 4) THEN
//COMPILEF EXEC PGM=STEPFAIL,REGION=64K
// ENDIF
Back to top
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 982
Location: Oostende, Belgium

PostPosted: Wed Sep 02, 2009 4:46 pm    Post subject:
Reply with quote

Try reducing the
Code:
REGION=256M
to something like
Code:
REGION=128MB
on the step labeled COMPILE.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Wed Sep 02, 2009 7:41 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

When posting error message text, the message id(s) should also be posted. . . Have you looked at the description of the error? Are you using your site-specific standard compile jcl or did you make some up?

What other diagnostic info was generated by this compile?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm
No new posts Need points to tune IMS Checkpoint Pr... satish.ms10 IMS DB/DC 2 Fri Sep 30, 2016 4:12 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us