If your LE run-time option CBLOPTS is OFF, then the format of the parm
should be 'run-time/user-data'.  Try PARM='/JFIPJFIA'.

Don Imbriale

>-----Original Message-----
>From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf
>Of Craig Kittendorf
>Sent: Tuesday, November 08, 2005 5:36 PM
>To: IBM-MAIN@BAMA.UA.EDU
>Subject: Passing PARM to COBOL.
>
>Hi,
>  I've done this before but can't get it to work now.  I'm trying to
pass an
>EXEC PARM field to a batch COBOL program.  I have the following:
>
> LINKAGE SECTION.
> 01  LS-PARM.
>     05 LS-PARM-DATA-LENGTH  PIC  9(04) BINARY.
>     05 LS-PARM-DATA         PIC X(100).
>PROCEDURE DIVISION USING LS-PARM.
>    DISPLAY '  ParmLen: ' LS-PARM-DATA-LENGTH.
>
>//STEP1    EXEC PGM=JDCXXXX,REGION=4M,PARM='JFIPJFIA'
>
>The parm length always displays as 1036 ( x'040C') and ls-parm-data is
also
>garbage.  Guess I'm too tired to see what I'm missing.
>


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to