Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Cameron Conacher
the MVS Control Blocks a little bit. Thanks …….Cameron Note I will be OOO on PTO March 23 throough March 31 2024 inclusive. From: IBM Mainframe Discussion List On Behalf Of Sri Hari Kolusu Sent: Tuesday, March 26, 2024 5:48 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I determine MVS FQDSN

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Sri Hari Kolusu
>> Is your SPOOL so constrained that you are concerned about running out of >> space if a job issues even a few million lines of sysout? >> The issue is that we have so many JOBs over so many decades doing this. Cameron, Did you know that you can use LINES parm to cancel/Dump/Warning for the

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Cameron Conacher
Subject: Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? Is your SPOOL so constrained that you are concerned about running out of space if a job issues even a few million lines of sysout? -- Tom Marchant

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Tom Marchant
Is your SPOOL so constrained that you are concerned about running out of space if a job issues even a few million lines of sysout? -- Tom Marchant -- For IBM-MAIN subscribe / signoff / archive access instructions, send email

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Cameron Conacher
O March 23 throough March 31 2024 inclusive. From: IBM Mainframe Discussion List On Behalf Of Paul Feller Sent: Tuesday, March 26, 2024 11:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? I'm going to suggest something a little diff

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Paul Feller
, March 26, 2024 10:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? IMO, a assembler subroutine that does RDJFCB is a better option than chasing control blocks. I wrote one that we call from our C++ product and its about

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Kirk Wolf
IMO, a assembler subroutine that does RDJFCB is a better option than chasing control blocks. I wrote one that we call from our C++ product and its about 120 lines of assembler code, with XPLINK linkage. However, we use EDCDSECT to convert the JFCB dsect to a C header so that you can look at

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Lennie Bradshaw
Of Cameron Conacher Sent: 25 March 2024 23:46 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? Hello, In case anyone needs this….. it seems to work so far. I did not really need the FQDSN. All I needed to know was whether or not SYSOUT

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-26 Thread Cameron Conacher
. From: IBM Mainframe Discussion List On Behalf Of Sri Hari Kolusu Sent: Monday, March 25, 2024 9:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? >> I did not really need the FQDSN. All I needed to know was w

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-25 Thread Seymour J Metz
equ...@listserv.ua.edu> Sent: Monday, March 25, 2024 7:45 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? Hello, In case anyone needs this….. it seems to work so far. I did not really need the FQDSN. All I needed to know was whether or not

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-25 Thread Sri Hari Kolusu
>> I did not really need the FQDSN. All I needed to know was whether or not >> SYSOUT was assign to SPOOL. Cameroon, Does this code handle Dynamically allocated Sysout dataset and XTIOT entries (i.e NON_VSAM_XTIOT=YES is set in SMS? Also, I was wondering what is the need to traverse the

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-25 Thread Cameron Conacher
IBM Mainframe Discussion List On Behalf Of Sri Hari Kolusu Sent: Monday, March 25, 2024 12:06 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? >> Why? Well I would like my COBOL program to allow COBOL Displays in >> Pr

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-25 Thread Seymour J Metz
; Sent: Monday, March 25, 2024 11:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How can I determine MVS FQDSN from DD Name in Batch COBOL Program? Hello. Back again. Previously I had inquired about retrieving RACF details from the MVS control Blocks at runtime. Name I would like to retrieve the

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-25 Thread Sri Hari Kolusu
>> Why? Well I would like my COBOL program to allow COBOL Displays in >> Production ONLY when the User specified a FQDN. Cameron, Check this. https://www.mvsforums.com/helpboards/viewtopic.php?p=62866 Thanks, Kolusu -- For

Re: How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-25 Thread Wayne Driscoll
An assembler program could issue the RDJFCB macro against a DCB with the appropriate DD name in it to perform the checking. Wayne Driscoll Note - All opinions are strictly my own On Mon, Mar 25, 2024 at 10:46 AM Cameron Conacher < 03cfc59146bb-dmarc-requ...@listserv.ua.edu> wrote: > Hello. >

How can I determine MVS FQDSN from DD Name in Batch COBOL Program?

2024-03-25 Thread Cameron Conacher
Hello. Back again. Previously I had inquired about retrieving RACF details from the MVS control Blocks at runtime. Name I would like to retrieve the Fully Qualified Data set name for a specific DD (SYSOUT). Why? Well I would like my COBOL program to allow COBOL Displays in Production ONLY when