View previous topic :: View next topic
|
Author |
Message |
Lord.of.Wind
New User
Joined: 17 Nov 2005 Posts: 60
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Ask the system support people "there" for compile jcl that will work on that system. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
saubhik
New User
Joined: 21 Sep 2007 Posts: 35 Location: kolkata
|
|
|
|
Hi,
You can try with IKJEFT01 as you compile for normal cobol program.Or try with IKJFT01 and parm=host(pl1) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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. . . |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
Quote: |
You can try with IKJEFT01 ... |
that' s just like saying You can do it with JCL |
|
Back to top |
|
|
debajyoti123
New User
Joined: 11 Aug 2008 Posts: 4 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
debajyoti123
New User
Joined: 11 Aug 2008 Posts: 4 Location: Bangalore
|
|
|
|
IBMZPLI is now Enterprise PL/I for z/os ver 3.4 compiler, and it should work fine. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
OK, time to go home -- I've learned something today already, and it's not even 9 AM yet! |
|
Back to top |
|
|
manmohan
New User
Joined: 31 Mar 2009 Posts: 2 Location: Delhi
|
|
|
|
Hi i am using IBMZPLI compiler to compile PLI program and getting the return code =8 |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
manmohan
New User
Joined: 31 Mar 2009 Posts: 2 Location: Delhi
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Try reducing the
to something like
on the step labeled COMPILE. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|