Uriel:
Here is my linkedit from our 1.12 system
 
//LNK     EXEC PGM=IEWL,
//             COND=(4,LT,COB),
//             PARM='LIST,XREF,AC(1)',
//             REGION=4096K
//SYSLIB    DD DISP=SHR,DSN=&LINKLIB
//          DD DISP=SHR,DSN=CEE.SCEELKED
//          DD DISP=SHR,DSN=SYS1.CSSLIB
//          DD DISP=SHR,DSN=TCPIP.SEZATCP
//SYSLMOD   DD DISP=SHR,DSN=&LINKLIB
//SYSUT1    DD UNIT=SYSDA,
//             DCB=BLKSIZE=1024,
//             SPACE=(1024,(200,20))
//SYSPRINT  DD SYSOUT=X
//SYSLOUT   DD SYSOUT=X
//SYSLIN    DD DISP=(OLD,DELETE),DSN=&&LOADSET
//          DD DDNAME=SYSIN
//SYSIN     DD *

Scott J Ford
Software Engineer
http://www.identityforge.com
 


________________________________
From: Uriel Carrasquilla <[email protected]>
To: [email protected]
Sent: Thursday, October 20, 2011 2:15 PM
Subject: Re: Cobol dynamic file allocation using SETENV and C run time 
environment

Do you still have to put a //SYSLMOD DD in the LKED step (link editing) if you 
already have in in the SYS1.PARMLIB(LPALST00)?

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of Scott 
Ford [[email protected]]
Sent: Thursday, October 20, 2011 10:08 AM
To: [email protected]
Subject: Re: Cobol dynamic file allocation using SETENV and C run time 
environment

Yep, me too John, I had to add it to my SYSLMOD stmts in the LKED...Once I did 
that no problem


Scott J Ford
Software Engineer
http://www.identityforge.com



________________________________
From: "McKown, John" <[email protected]>
To: [email protected]
Sent: Thursday, October 20, 2011 9:29 AM
Subject: Re: Cobol dynamic file allocation using SETENV and C run time 
environment

If you're going to CALL it from COBOL, using the DYNAM compiler option, then 
the library needs to be available to the job during execution. That means in 
the LNKLST or STEPLIB/JOBLIB DD statement. Another possibility is to COPY the 
SETENV and PUTENV routines into a library which is already on the LNKLST. 
Personally, I'd put SCEELKED on the LNKLST in this case. Or compile the routine 
NODYNAM so that they are statically linked into the program object/load module.

John McKown

Systems Engineer IV

IT



Administrative Services Group



HealthMarkets(r)



9151 Boulevard 26 * N. Richland Hills * TX 76010

(817) 255-3225 phone *

[email protected] * www.HealthMarkets.com



Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM



> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:[email protected]] On Behalf Of Uriel Carrasquilla
> Sent: Thursday, October 20, 2011 8:05 AM
> To: [email protected]
> Subject: Re: Cobol dynamic file allocation using SETENV and C
> run time environment
>
> I found CEE.SCEELKED with the SETENV member in the PDS.
> I am correct in thinking that this library should be placed
> in the link editing step after compiling with the //SYSLIB DD
> statement?
> Or should it be placed on the LINKLIST?
> Thank you.
>
>
> ________________________________________
> From: IBM Mainframe Discussion List [[email protected]] on
> behalf of McKown, John [[email protected]]
> Sent: Wednesday, October 19, 2011 5:33 PM
> To: [email protected]
> Subject: Re: Cobol dynamic file allocation using SETENV and C
> run time environment
>
> SCEELKED contains SETENV and PUTENV.
>
> --
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> [email protected] * www.HealthMarkets.com
>
> Confidentiality Notice: This e-mail message may contain
> confidential or proprietary information. If you are not the
> intended recipient, please contact the sender by reply e-mail
> and destroy all copies of the original message.
> HealthMarkets(r) is the brand name for products underwritten
> and issued by the insurance subsidiaries of HealthMarkets,
> Inc. -The Chesapeake Life Insurance Company(r), Mid-West
> National Life Insurance Company of TennesseeSM and The MEGA
> Life and Health Insurance Company.SM
>
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List
> > [mailto:[email protected]] On Behalf Of Uriel Carrasquilla
> > Sent: Wednesday, October 19, 2011 3:32 PM
> > To: [email protected]
> > Subject: Cobol dynamic file allocation using SETENV and C run
> > time environment
> >
> > I have a developer that is not being able to make a call to
> > SETENV from within Cobol (Cobol snippet: call 'setenv' using
> > envname,...).
> > I found that the C routines in the LE run time environment
> > must be available.
> > Does anybody know what I need to check in the linklist/lpa to
> > make sure that Cobol finds the needed routines from the C run
> > time libraries?
> > Thank you.
> >
> >
> ----------------------------------------------------------------------
> > 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
> >
> >
>
> ----------------------------------------------------------------------
> 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
>
> ----------------------------------------------------------------------
> 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
>
>

----------------------------------------------------------------------
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
9151 Boulevard 26 * N. Richland Hills * TX 76010

(817) 255-3225 phone *

[email protected] * www.HealthMarkets.com



Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM



> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:[email protected]] On Behalf Of Uriel Carrasquilla
> Sent: Thursday, October 20, 2011 8:05 AM
> To: [email protected]
> Subject: Re: Cobol dynamic file allocation using SETENV and C
> run time environment
>
> I found CEE.SCEELKED with the SETENV member in the PDS.
> I am correct in thinking that this library should be placed
> in the link editing step after compiling with the //SYSLIB DD
> statement?
> Or should it be placed on the LINKLIST?
> Thank you.
>
>
> ________________________________________
> From: IBM Mainframe Discussion List [[email protected]] on
> behalf of McKown, John [[email protected]]
> Sent: Wednesday, October 19, 2011 5:33 PM
> To: [email protected]
> Subject: Re: Cobol dynamic file allocation using SETENV and C
> run time environment
>
> SCEELKED contains SETENV and PUTENV.
>
> --
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone *
> [email protected] * www.HealthMarkets.com
>
> Confidentiality Notice: This e-mail message may contain
> confidential or proprietary information. If you are not the
> intended recipient, please contact the sender by reply e-mail
> and destroy all copies of the original message.
> HealthMarkets(r) is the brand name for products underwritten
> and issued by the insurance subsidiaries of HealthMarkets,
> Inc. -The Chesapeake Life Insurance Company(r), Mid-West
> National Life Insurance Company of TennesseeSM and The MEGA
> Life and Health Insurance Company.SM
>
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List
> > [mailto:[email protected]] On Behalf Of Uriel Carrasquilla
> > Sent: Wednesday, October 19, 2011 3:32 PM
> > To: [email protected]
> > Subject: Cobol dynamic file allocation using SETENV and C run
> > time environment
> >
> > I have a developer that is not being able to make a call to
> > SETENV from within Cobol (Cobol snippet: call 'setenv' using
> > envname,...).
> > I found that the C routines in the LE run time environment
> > must be available.
> > Does anybody know what I need to check in the linklist/lpa to
> > make sure that Cobol finds the needed routines from the C run
> > time libraries?
> > Thank you.
> >
> >
> ----------------------------------------------------------------------
> > 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
> >
> >
>
> ----------------------------------------------------------------------
> 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
>
> ----------------------------------------------------------------------
> 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
>
>

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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