I notice that your running Swift programs. I had a play when the beta
first came out but the compile times were too slow for my liking. Has it
improved?
On 17/11/2017 9:24 AM, Frank Swarbrick wrote:
While that is not exactly the answer, it lead me to find my answer. Use
CEEOPTS to define the LIBPATH environment variable. Here's my working JCL:
//TEST JOB NOTIFY=&SYSUID,REGION=2000M
//JOBLIB DD DISP=SHR,DSN=DVFJS.APPLIB.LOAD
// DD DISP=SHR,DSN=DVFJS.SWIFT.SCEERUN2
//GO EXEC PGM=TESTPGM
//CEEOPTS DD *
POSIX(ON)
ENVAR('LIBPATH=/u/dvfjs/lib')
/*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
TESTPGM, from DVFJS.APPLIB.LOAD executes and loads libtestDLL.dll from
/u/dvfjs/lib.
Cool! Thanks,
Frank
________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of David
Crayford <[email protected]>
Sent: Thursday, November 16, 2017 5:16 PM
To: [email protected]
Subject: Re: accessing a Unix file system DLL in MVS batch
Yes. You need to set the LIBPATH environment variable to specify the
search path
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa400/bpxug93.htm.
On 17/11/2017 7:49 AM, Frank Swarbrick wrote:
Is it possible to invoke a program in JCL as EXEC PGM (the actual program name,
not BPXBATCH et al) and have that program be able to load a DLL from the Unix
file system? I believe the answer (currently) is no, because it appears that
JOBLIB/STEPLIB only works with PDS/PDSE libraries, but I want to make sure I'm
not missing something.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN