Re: Cobol dynamic file allocation using SETENV and C run time environment
In 1319326715.98941.yahoomailmob...@web161421.mail.bf1.yahoo.com, on 10/22/2011 at 04:38 PM, Ed Gould ps2...@yahoo.com said: I had asked as to why he had DCB specified on SYSUT1 in his JCL for the linkage editor aka binder. The linkage editor and the binder are two different programs. I have only seen it used in sysgens. That must have been a while back; sysgen support for MVS is ancient history. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
The program was linked under Z/os and the program executed was IEWL so unless there was a JOBLIB that wasn#39;t shown the user did not supply the entire JCL stream, there was no way to prove what was really used. so if you think there is/was a difference please ask the user. My question was related to the generic sysgens ever since MVT. I know sysgens have gone the way of the DODO. However I have also seen it in compiler procs FROM IBM. IBM seems to still use it. Please ask IBM why they still use it. Ed -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Shmuel: Yes , ancient history but many ppl just carry over odd habits in techniques, etc. Scott J Ford Software Engineer http://www.identityforge.com From: Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net To: IBM-MAIN@bama.ua.edu Sent: Sunday, October 23, 2011 1:59 AM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment In 1319326715.98941.yahoomailmob...@web161421.mail.bf1.yahoo.com, on 10/22/2011 at 04:38 PM, Ed Gould ps2...@yahoo.com said: I had asked as to why he had DCB specified on SYSUT1 in his JCL for the linkage editor aka binder. The linkage editor and the binder are two different programs. I have only seen it used in sysgens. That must have been a while back; sysgen support for MVS is ancient history. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Shmuel, Yep SYSLIB, correct, too much Airplane ??? lol Scott J Ford Software Engineer http://www.identityforge.com From: Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net To: IBM-MAIN@bama.ua.edu Sent: Saturday, October 22, 2011 8:32 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment In 1319119689.78129.yahoomail...@web65503.mail.ac4.yahoo.com, on 10/20/2011 at 07:08 AM, Scott Ford scott_j_f...@yahoo.com said: Yep, me too John, I had to add it to my SYSLMOD stmts in the LKED SYSLMOD? Shirley you mean SYSLIB. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
In 1319119689.78129.yahoomail...@web65503.mail.ac4.yahoo.com, on 10/20/2011 at 07:08 AM, Scott Ford scott_j_f...@yahoo.com said: Yep, me too John, I had to add it to my SYSLMOD stmts in the LKED SYSLMOD? Shirley you mean SYSLIB. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
In e3bdb5aee89ab14caaf930af702759a4044...@exmbx2010-3.campus.mcgill.ca, on 10/20/2011 at 06:15 PM, Uriel Carrasquilla uriel.carrasqui...@mail.mcgill.ca said: 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)? Il va sans dire! SYSLMOD identifies the output library and has nothing to do with the LPA. Neither SYS1.PARMLIB(LPALST00) nor any other parmlib member affects where the BINDER finds its input or puts its output. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Seymour, I had asked as to why he had DCB specified on SYSUT1 in his JCL for the linkage editor aka binder. I have only seen it used in sysgens. Not even in compiler JCL from IBM. Ed -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
SCEELKED contains SETENV and PUTENV. 'setenv' may be in SCEELKED, but that does not help the dynamic call case, where the call would be resolved at runtime, not link time. You cannot call lower case names dynamically from COBOL at this time. The dynamic call routine 'normalizes' all names, including setting to upper case. We need to change this at some point, but for now, no dynamic calls to lower-case named subroutines. Can you change your call to a static call? I found CEE.SCEELKED in SYS1.PARMLIB(LPALST00) and the library does contain a SETENV member. So I don't know why the COBOL program is saying that it cannot find the module. You do not CALL objects in SCEELKED, you LINK objects in SCEELKED. The objects in SCEELKED are just 'stubs' that get you to the actual programs in SCEERUN. I tested calling setenv dynamically in a testcase that was working with static calls but failed when I changed the static calls to dynamic (compiled with the DYNAM compiler option) I got S806, subroutine 'setenv' not found. Now I look again, and it was not looking for 'SETENV', it was looking for 'setenv'! Then I look in SCEERUN and SCEERUN2 and cannot find setenv or SETENV. I think it is because they have funny C names that get mangled to fit the real world. Sorry for not remembering the correct solution, which was provided by LE a few years ago: CEEENV! CEEENV can be called statically or dynamically, and can be found in SCEERUN. It provides similar functionality as 'setenv'. Cheers, TomR COBOL is the Language of the Future! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Yes Rick - Scott Ford wrote: Rick: Your saying even if specified, it is overriden by the Linkage Editor and Binder ? Scott J Ford Software Engineer http://www.identityforge.com From: Rick Fochtman rfocht...@ync.net To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 7:59 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment -snip Scott, Interesting side point to me. Does specifying a DCB on sysut1 on the linkedit make a difference on the block size of the lmod? Not the size but the block size? Ed -unsnip Ed, to the best of my knowledge, any such value on the DD statement is ignored. Linkage Editor of Binder will determine what's best for its purposes without our help. AFAIK, the LMOD blksize is determined solely by the SYSLMOD blksize value. Rick -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Rick, I was looking at our LE compile proc and I think the allocations were carry over by someone. I just never thought about changing them. Funny how that happens. Thanks for the reply, much appreciated Scott J Ford Software Engineer http://www.identityforge.com From: Rick Fochtman rfocht...@ync.net To: IBM-MAIN@bama.ua.edu Sent: Friday, October 21, 2011 5:13 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment Yes Rick - Scott Ford wrote: Rick: Your saying even if specified, it is overriden by the Linkage Editor and Binder ? Scott J Ford Software Engineer http://www.identityforge.com From: Rick Fochtman rfocht...@ync.net To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 7:59 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment -snip Scott, Interesting side point to me. Does specifying a DCB on sysut1 on the linkedit make a difference on the block size of the lmod? Not the size but the block size? Ed -unsnip Ed, to the best of my knowledge, any such value on the DD statement is ignored. Linkage Editor of Binder will determine what's best for its purposes without our help. AFAIK, the LMOD blksize is determined solely by the SYSLMOD blksize value. Rick -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
And have a license for the compiler grin. We are a 100% COBOL only shop. I wonder if our change management software, CA-ENDEVOR, supports C. I need to read up on it, but it puts me to sleep. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets® 9151 Boulevard 26 . N. Richland Hills . TX 76010 (817) 255-3225 phone . john.mck...@healthmarkets.com . 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® is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company®, 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:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Ford Sent: Wednesday, October 19, 2011 5:10 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment Probably C would be a lot easier if you are comfortable in C to write it. Scott J Ford Software Engineer http://www.identityforge.com From: McKown, John john.mck...@healthmarkets.com To: IBM-MAIN@bama.ua.edu Sent: Wednesday, October 19, 2011 5:33 PM 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 [IBM-MAIN@bama.ua.edu] on behalf of McKown, John [john.mck...@healthmarkets.com] Sent: Wednesday, October 19, 2011 5:33 PM To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Thursday, October 20, 2011 8:05 AM To: IBM-MAIN@bama.ua.edu 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 [IBM-MAIN@bama.ua.edu] on behalf of McKown, John [john.mck...@healthmarkets.com] Sent: Wednesday, October 19, 2011 5:33 PM To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Uriel: We use it all the time for LE Cobol, etc and we had to do nothing to place it in the LINKLIST. IBM packaged it in the correct libraries and LPA and/or Linklist member of IEASYSxx of the SYS1.PARMLIB. Could you have a situation where your IEASYSXX member is incorrect ? Just a thought. Scott J Ford Software Engineer http://www.identityforge.com From: Uriel Carrasquilla uriel.carrasqui...@mail.mcgill.ca To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 9:04 AM 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 [IBM-MAIN@bama.ua.edu] on behalf of McKown, John [john.mck...@healthmarkets.com] Sent: Wednesday, October 19, 2011 5:33 PM To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 john.mck...@healthmarkets.com To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Thursday, October 20, 2011 8:05 AM To: IBM-MAIN@bama.ua.edu 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 [IBM-MAIN@bama.ua.edu] on behalf of McKown, John [john.mck...@healthmarkets.com] Sent: Wednesday, October 19, 2011 5:33 PM To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives
Re: Cobol dynamic file allocation using SETENV and C run time environment
John, That is one solution. However there is a potential to break a lot of working code. Compatibility has never been one of LE#39;s strong points. Ed -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Ed, I havent had that problem and we use LE Cobol a lot since 3.1. There were compatiblity issues on the older z/OS releases. I ran intoone of those all ready, happened to be on an older version that didnt support some of the LE calls. Scott J Ford Software Engineer http://www.identityforge.com From: Ed Gould ps2...@yahoo.com To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 12:36 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment John, That is one solution. However there is a potential to break a lot of working code. Compatibility has never been one of LE's strong points. Ed -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
SCEELKED contains SETENV and PUTENV. 'setenv' may be in SCEELKED, but that does not help the dynamic call case, where the call would be resolved at runtime, not link time. You cannot call lower case names dynamically from COBOL at this time. The dynamic call routine 'normalizes' all names, including setting to upper case. We need to change this at some point, but for now, no dynamic calls to lower-case named subroutines. Can you change your call to a static call? Cheers, TomR COBOL is the Language of the Future! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
I found CEE.SCEELKED in SYS1.PARMLIB(LPALST00) and the library does contain a SETENV member. So I don't know why the COBOL program is saying that it cannot find the module. From: IBM Mainframe Discussion List [IBM-MAIN@bama.ua.edu] on behalf of Scott Ford [scott_j_f...@yahoo.com] Sent: Thursday, October 20, 2011 10:04 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment Uriel: We use it all the time for LE Cobol, etc and we had to do nothing to place it in the LINKLIST. IBM packaged it in the correct libraries and LPA and/or Linklist member of IEASYSxx of the SYS1.PARMLIB. Could you have a situation where your IEASYSXX member is incorrect ? Just a thought. Scott J Ford Software Engineer http://www.identityforge.com From: Uriel Carrasquilla uriel.carrasqui...@mail.mcgill.ca To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 9:04 AM 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 [IBM-MAIN@bama.ua.edu] on behalf of McKown, John [john.mck...@healthmarkets.com] Sent: Wednesday, October 19, 2011 5:33 PM To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
We are current with zOS 11. From: IBM Mainframe Discussion List [IBM-MAIN@bama.ua.edu] on behalf of Scott Ford [scott_j_f...@yahoo.com] Sent: Thursday, October 20, 2011 1:16 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment Ed, I havent had that problem and we use LE Cobol a lot since 3.1. There were compatiblity issues on the older z/OS releases. I ran intoone of those all ready, happened to be on an older version that didnt support some of the LE calls. Scott J Ford Software Engineer http://www.identityforge.com From: Ed Gould ps2...@yahoo.com To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 12:36 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment John, That is one solution. However there is a potential to break a lot of working code. Compatibility has never been one of LE's strong points. Ed -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 [IBM-MAIN@bama.ua.edu] on behalf of Scott Ford [scott_j_f...@yahoo.com] Sent: Thursday, October 20, 2011 10:08 AM To: IBM-MAIN@bama.ua.edu 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 john.mck...@healthmarkets.com To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Thursday, October 20, 2011 8:05 AM To: IBM-MAIN@bama.ua.edu 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 [IBM-MAIN@bama.ua.edu] on behalf of McKown, John [john.mck...@healthmarkets.com] Sent: Wednesday, October 19, 2011 5:33 PM To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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
Re: Cobol dynamic file allocation using SETENV and C run time environment
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 uriel.carrasqui...@mail.mcgill.ca To: IBM-MAIN@bama.ua.edu 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 [IBM-MAIN@bama.ua.edu] on behalf of Scott Ford [scott_j_f...@yahoo.com] Sent: Thursday, October 20, 2011 10:08 AM To: IBM-MAIN@bama.ua.edu 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 john.mck...@healthmarkets.com To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Thursday, October 20, 2011 8:05 AM To: IBM-MAIN@bama.ua.edu 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 [IBM-MAIN@bama.ua.edu] on behalf of McKown, John [john.mck...@healthmarkets.com] Sent: Wednesday, October 19, 2011 5:33 PM To: IBM-MAIN@bama.ua.edu 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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
Re: Cobol dynamic file allocation using SETENV and C run time environment
On 20 Oct 2011 10:48:07 -0700, in bit.listserv.ibm-main you wrote: SCEELKED contains SETENV and PUTENV. 'setenv' may be in SCEELKED, but that does not help the dynamic call case, where the call would be resolved at runtime, not link time. You cannot call lower case names dynamically from COBOL at this time. The dynamic call routine 'normalizes' all names, including setting to upper case. We need to change this at some point, but for now, no dynamic calls to lower-case named subroutines. Can you change your call to a static call? In the meantime couldn't an ALIAS of SETENV be given to setenv and solve the problem? Clark Morris Cheers, TomR COBOL is the Language of the Future! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Scott, Interesting side point to me. Does specifying a DCB on sysut1 on the linkedit make a difference on the block size of the lmod? Not the size but the block size? Ed -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
-snip Scott, Interesting side point to me. Does specifying a DCB on sysut1 on the linkedit make a difference on the block size of the lmod? Not the size but the block size? Ed -unsnip Ed, to the best of my knowledge, any such value on the DD statement is ignored. Linkage Editor of Binder will determine what's best for its purposes without our help. AFAIK, the LMOD blksize is determined solely by the SYSLMOD blksize value. Rick -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Ed, Thats a good question, we have some pre-canned procs someone setup..I will have to find out... Scott J Ford Software Engineer http://www.identityforge.com From: Ed Gould ps2...@yahoo.com To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 5:32 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment Scott, Interesting side point to me. Does specifying a DCB on sysut1 on the linkedit make a difference on the block size of the lmod? Not the size but the block size? Ed -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Rick: Your saying even if specified, it is overriden by the Linkage Editor and Binder ? Scott J Ford Software Engineer http://www.identityforge.com From: Rick Fochtman rfocht...@ync.net To: IBM-MAIN@bama.ua.edu Sent: Thursday, October 20, 2011 7:59 PM Subject: Re: Cobol dynamic file allocation using SETENV and C run time environment -snip Scott, Interesting side point to me. Does specifying a DCB on sysut1 on the linkedit make a difference on the block size of the lmod? Not the size but the block size? Ed -unsnip Ed, to the best of my knowledge, any such value on the DD statement is ignored. Linkage Editor of Binder will determine what's best for its purposes without our help. AFAIK, the LMOD blksize is determined solely by the SYSLMOD blksize value. Rick -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Rick, I have seen it used as far back as MFT sysgen and I wondered why IBM put it in. Anyone? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Uriel, You can call BPXWDYN real easy from Cobol, I think there are a lot of examples if you google 'z/OS BPXWDYN ' Regards, Scott J Ford Software Engineer http://www.identityforge.com From: Uriel Carrasquilla uriel.carrasqui...@mail.mcgill.ca To: IBM-MAIN@bama.ua.edu Sent: Wednesday, October 19, 2011 4:31 PM 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Cobol dynamic file allocation using SETENV and C run time environment
Probably C would be a lot easier if you are comfortable in C to write it. Scott J Ford Software Engineer http://www.identityforge.com From: McKown, John john.mck...@healthmarkets.com To: IBM-MAIN@bama.ua.edu Sent: Wednesday, October 19, 2011 5:33 PM 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 * john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Uriel Carrasquilla Sent: Wednesday, October 19, 2011 3:32 PM To: IBM-MAIN@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html