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

How can I find the compiling program?


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Thu Jan 08, 2009 7:38 am
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Jan 08, 2009 2:09 pm
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
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

Moderator Emeritus


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

PostPosted: Sun Jan 11, 2009 12:08 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun Jan 11, 2009 12:10 am
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jan 15, 2009 5:43 pm
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Jan 15, 2009 5:48 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jan 15, 2009 7:04 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Sep 02, 2009 4:32 pm
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Sep 02, 2009 4:34 pm
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
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

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Sep 02, 2009 4:46 pm
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

Moderator Emeritus


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

PostPosted: Wed Sep 02, 2009 7:41 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top