Re: Using symbolic DD names

2020-12-30 Thread Brian Westerman
We do this all the time in the Syzygy Automation Suite. We typically scan the TIOT looking for any DDnames that start with SYZ* and if we find them we do different things based on what they are, also we allow SYZINnn and any number of SYSIN datasets which we dynamically create a DCB for inside

METAL C CATTR Assembly error

2020-12-30 Thread Joseph Reichman
Hi I am getting the following error on a CATTR Assembly statement 0001B0A 1B51 2833 OPENFI#C CSECT , 00 2834 M_WSACATTR RMODE(ANY),PART(openfile),NOTEXECUTABLE,ALIGN(2) 00 ** ASMA155S Previous

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Rupert Reynolds
They've always been there since I inherited it, but they help as it goes interactive, after the trace ?i on an error. If I press once or twice (I forget which) without entering any interactive Rexx commands, it drops out of the file, perhaps losing some diagnostic info. It's easy to press too of

Re: Using symbolic DD names

2020-12-30 Thread Charles Mills
> I am not aware of any language construct that allows for a DD name to be > randomly selected in a program Do you mean in COBOL? I am not sure what you mean by "randomly selected" but if you mean "dynamically-constructed" and you are not limiting it to COBOL, then it is certainly trivial and

Re: Using symbolic DD names

2020-12-30 Thread Bernd Oppolzer
Am 30.12.2020 um 21:55 schrieb Lizette Koehler: So the question becomes, can your Program handle a constantly changing DD Name? What would be the benefit from doing this? In Cobol you predefine (If I am allowed to use this word) the IO Section. Which specifies the DD name - consider that hard

Re: Using symbolic DD names

2020-12-30 Thread Paul Gilmartin
On Wed, 30 Dec 2020 15:16:49 -0600, Dana Mitchell wrote: >I do this frequently in REXX: > >Address ispexec 'VGET (ZSCREEN) SHARED' >ddname='$TRAP'zscreen >'ALLOC FI('ddname') UNIT(3390) DSO(PS) RECFM(V B) LRECL(255) NEW DEL REU' >'EXECIO 'trap.0' DISKW 'ddname' (FINI STEM TRAP.' > I'm mystified.

Re: Using symbolic DD names

2020-12-30 Thread Seymour J Metz
> I am not aware of any language construct that allows for a DD name to be > randomly selected in a program. On z/OS All ethe way back to OS/360: OPEN FILE (file-expr) TITLE (expression); -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 Fr

Re: Using symbolic DD names

2020-12-30 Thread Seymour J Metz
Not DD statements, dynamic allocation. You can use bpxwdyn without needing to use assembler code, and you can use DYNALLOC (SVC 99) directly if you're writing assembler. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discus

Re: Using symbolic DD names

2020-12-30 Thread Paul Gilmartin
On Wed, 30 Dec 2020 13:55:32 -0700, Lizette Koehler wrote: > >And yes Scheduling products can supply symbolics where native z/OS might now. > JCL Converter is brain-dead. Symbolics should be recognized *everywhere*, even when split over continuation lines. >Could you provide an example where you

Re: Using symbolic DD names

2020-12-30 Thread Billy Ashton
Hi Lizette, as I noted originally, the vendor program uses control statements, where certain values are passed in on the control statement. These user-defined values drive the DD statement it is looking for. In my example, the table number is being passed in on a SYSIN control statement (it co

Re: Using symbolic DD names

2020-12-30 Thread Dana Mitchell
I do this frequently in REXX: Address ispexec 'VGET (ZSCREEN) SHARED' ddname='$TRAP'zscreen 'ALLOC FI('ddname') UNIT(3390) DSO(PS) RECFM(V B) LRECL(255) NEW DEL REU' 'EXECIO 'trap.0' DISKW 'ddname' (FINI STEM TRAP.' Dana On Wed, 30 Dec 2020 13:55:32 -0700, Lizette Koehler wrote: >So the ques

Re: CICS COBOL co-compiler licensing?

2020-12-30 Thread Charles Mills
1. Yes. That is what would be licensed, the necessary libraries. 2. Really? You never heard of a compile sandbox? 3. That is more or less what I am asking about -- what are the license options. "I'll just use R.S.'s machine" is probably not the answer I need. Charles -Original Message- F

Re: Using symbolic DD names

2020-12-30 Thread Lizette Koehler
So the question becomes, can your Program handle a constantly changing DD Name? What would be the benefit from doing this? In Cobol you predefine (If I am allowed to use this word) the IO Section. Which specifies the DD name - consider that hard coded. I am not aware of any language construct

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Nick Jones
There is a Microsoft Windows version of the z/OS OEM batch utility, SELCOPY. SELCOPY for Microsoft Windows can be invoked as a line command in a Windows shell or from a shell script (BAT or VBS). It is capable of record based data manipulation (including ASCII<->EBCDIC) and also supports definit

Re: Using symbolic DD names

2020-12-30 Thread Steve Smith
JCL doesn't allow any symbol substitution in names or operation. You can, however, use anything in the wide wide world of programming to generate the JCL and submit it. But here's a nice, simple way to do it: // SET &TNO=99 //SUBMIT EXEC PGM=IEBEDIT //SYSPRINT DD ... //SYSIN DD DUMMY //SYSUT1 DD

Re: Using symbolic DD names

2020-12-30 Thread Paul Gilmartin
On Wed, 30 Dec 2020 19:21:52 +, Billy Ashton wrote: >Hey folks! I have a vendor product program that looks for different >DDnames depending on the control statements passed into the program. Is >there any way to define a dynamic DD statement using JCL symbols? For >example, I would love to

Re: CICS COBOL co-compiler licensing?

2020-12-30 Thread Mike Schwab
Hercules with MVS 3.8 with KICKSforTSO. Yes, it is the 1968 compiler. Yes, the object module can be uploaded to real hardware and will run. No, you can't take advantage of newer instructions. On Wed, Dec 30, 2020 at 12:30 PM R.S. wrote: > > W dniu 30.12.2020 o 18:46, Charles Mills pisze: > > Does

Re: Using symbolic DD names

2020-12-30 Thread R.S.
W dniu 30.12.2020 o 20:21, Billy Ashton pisze: Hey folks! I have a vendor product program that looks for different DDnames depending on the control statements passed into the program. Is there any way to define a dynamic DD statement using JCL symbols? For example, I would love to have //TB&tno

Using symbolic DD names

2020-12-30 Thread Billy Ashton
Hey folks! I have a vendor product program that looks for different DDnames depending on the control statements passed into the program. Is there any way to define a dynamic DD statement using JCL symbols? For example, I would love to have //TB&tno.DAT to correspond to TB01DAT, TB14DAT, or TB67

Re: CICS COBOL co-compiler licensing?

2020-12-30 Thread R.S.
W dniu 30.12.2020 o 18:46, Charles Mills pisze: Does anyone know if there is an IBM license that covers the CICS COBOL co-compiler short of a full-blown CICS TS license? In other words, could you license the co-compiler for a "development machine" without having to license the full CICS transact

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Robert Prins
On 2020-12-30 16:06, David Crayford wrote: On 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but why trust github and not Facebook. Github is

CICS COBOL co-compiler licensing?

2020-12-30 Thread Charles Mills
Does anyone know if there is an IBM license that covers the CICS COBOL co-compiler short of a full-blown CICS TS license? In other words, could you license the co-compiler for a "development machine" without having to license the full CICS transaction server? Charles

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Jeremy Nicoll
On Tue, 29 Dec 2020, at 19:25, Rupert Reynolds wrote: > novalue: > error: > trace R > xxErrL = ERL > xxErrN = RC > say > say "ERROR" xxErrN > say errortext(xxErrN) > say sourceline(xxErrL) > trace ?i > nop > nop > exit What are the two nop lines for? -- Jeremy Nicoll - my

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Seymour J Metz
I use DuckDuckGo; it includes google results in its hit list. Alas, it also suffers from the "more is better" philosophy, giving tons of bogus hits. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LI

Re: Online reference for term shoulder tap

2020-12-30 Thread Seymour J Metz
Thanks; II I hadn't seen that usage before. The context that I'm interested in is tightly coupled multiprocessor systems, where a CPU used Direct Control (S/360) or SIGP (S/370 through Z) to cause another CPU to look for work. Originally that was used both for dispatch queues and I/O queues, bu

Re: Online reference for term shoulder tap

2020-12-30 Thread Steve Horein
Not the best, but the closest I could find: https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.ieag400/iea3g447.htm Your installation chooses the number of systems that must see the RSA-message before a system sends a *“shoulder-tap”, an acknowledgement that it has received

Re: Scheduler (was: JCL divergence)

2020-12-30 Thread Mike Schwab
You can install Linux on Android apps then full Linux apps. On Wed, Dec 30, 2020 at 10:05 AM R.S. wrote: > > W dniu 30.12.2020 o 15:17, Paul Gilmartin pisze: > > On Wed, 30 Dec 2020 11:22:42 +0100, Stefan Skoglund wrote: > >> UNIX had early on cron which runs specific jobs regularly at > >> prede

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread David Crayford
On 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but why trust github and not Facebook. Github is owned by Microsoft, aren't they the enemy t

Re: Scheduler (was: JCL divergence)

2020-12-30 Thread R.S.
W dniu 30.12.2020 o 15:17, Paul Gilmartin pisze: On Wed, 30 Dec 2020 11:22:42 +0100, Stefan Skoglund wrote: UNIX had early on cron which runs specific jobs regularly at predetermined times while at (atd) is more like a one of JCL batch job. ... LINUX has the same functionality. Of course.

Online reference for term shoulder tap

2020-12-30 Thread Seymour J Metz
Is there a manual available online that defines the term shoulder tap? I'm looking for something that I can cite in a wikipedia article. Thanks. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 -- For IBM-MAIN subscrib

Scheduler (was: JCL divergence)

2020-12-30 Thread Paul Gilmartin
On Wed, 30 Dec 2020 11:22:42 +0100, Stefan Skoglund wrote: > >UNIX had early on cron which runs specific jobs regularly at >predetermined times while at (atd) is more like a one of JCL batch job. >... >LINUX has the same functionality. > Of course. "... not far from the tree." A shortcoming o

Re: JCL divergence

2020-12-30 Thread Stefan Skoglund
tis 2020-12-22 klockan 17:57 -0600 skrev John McKown: > On Tue, Dec 22, 2020 at 5:49 PM Seymour J Metz > wrote: > > > https://en.wikipedia.org/wiki/Cron > > > > > I use CRON a fair amount on Linux at home. And on z/OS at work, for > "personal scheduling". And there's the equivalent "Windows Tas

Re: JCL divergence

2020-12-30 Thread Stefan Skoglund
tis 2020-12-22 klockan 17:35 -0600 skrev John McKown: > On Tue, Dec 22, 2020 at 5:26 PM Gibney, Dave wrote: > > > WindowsJob...Huh > > > > Right. I am so ignorant, perhaps the Windows (and Linux?) world > doesn't > even have any unattended scheduled activities. I know that there is a > "Win