Re: ISPF in batch

2023-08-10 Thread Wayne Bickerdike
I've used an EDIT macro in 3.4. Not sure what the OP is trying to do.

I have one REXX exec called ALLMEM which prompts for a macro name and it
applies a global edit to each member of a selected PDS.

I've used it in batch too as a poor man's FileAid or Filemanager.

On Fri, Aug 11, 2023 at 7:05 AM Seymour J Metz  wrote:

> What are you tring to do? What's wrong with ADDRESS ISPEXEC EDIT ...
> within an ISPF script??
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
> of Steve Beaver [050e0c375a14-dmarc-requ...@listserv.ua.edu]
> Sent: Thursday, August 10, 2023 12:04 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: ISPF in batch
>
> Do any one of the group have any experience editing a file under 3.4
>
> And executing an Init MACRO
>
>
>
>
>
>
>
> Regards,
>
>
>
>
>
> Steve
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
Wayne V. Bickerdike

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF in batch

2023-08-10 Thread Seymour J Metz
What are you tring to do? What's wrong with ADDRESS ISPEXEC EDIT ... within an 
ISPF script??


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Steve Beaver [050e0c375a14-dmarc-requ...@listserv.ua.edu]
Sent: Thursday, August 10, 2023 12:04 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ISPF in batch

Do any one of the group have any experience editing a file under 3.4

And executing an Init MACRO







Regards,





Steve




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IBM-MAIN@LISTSERV.UA.EDU

2023-08-10 Thread Peter Vels
Try:

NETSTAT TELNET (APPLNAME AWTSTDP3

On Fri, 11 Aug 2023 at 07:59, esst...@juno.com  wrote:

> Yes I have looked at that page, and not getting any data - so I suspect my
> sytax is incorrect
>
> -- Original Message --
> From: Mike Schwab 
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: IBM-MAIN@LISTSERV.UA.EDU
> Date: Thu, 10 Aug 2023 16:23:11 -0500
>
> https://www.ibm.com/docs/en/zos/2.2.0?topic=overview-netstat-command-filter
>
>
> On Thu, Aug 10, 2023, 15:56 esst...@juno.com  wrote:
>
> > Hello.I am trying to use TSO NETSTAT with a FILTER and keep receiving
> > -EZZ2351I Incorrect option: FILTER..I can issue NETSTAT ALL, however
> there
> > too much data..So I'm Trying to use a filter..I have tried many different
> > variations such as:NETSTAT (FILTER APPLMAE AWTSTDP3
> > NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
> > NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
> > NETSTAT ALLCONN/a | (FILTER APPLNAME AWTSTDP3
> > NETSTAT ALLCONN | (FILTER APPLNAME AWTSTDP3..I can't seem to get the
> > syntax correct.Can someone provide an example of using NETSTAT with a
> > FILETER and APPLNAME of AWTSTDP3 with the proper syntax?,.paul
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF in batch, And then there is The Naviquest part of DFSMS

2023-08-10 Thread Gibney, Dave
Naviquest is a part of the ISMF panels/application. It includes a bunch of 
batch ISPF.

It doesn't run fast, but it does work.

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Paul Gilmartin
> Sent: Thursday, August 10, 2023 3:09 PM
> ISPF 3.4 is interactive, probably of little use in batch.
> 
> Wouldn't it be nice if(?) there were a catalogued PROC with the needed
> allocations as replaceable parameters?
> 
> --
> gil
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF in batch

2023-08-10 Thread Paul Gilmartin
On Thu, 10 Aug 2023 16:32:06 +, Sri h Kolusu wrote:

>>> Do any one of the group have any experience editing a file under 3.4 And 
>>> executing an Init MACRO
>
>Steve,
>
>Check this 
>https://groups.google.com/g/bit.listserv.ispf-l/c/8IxI7mY2hhY/m/e8AnYi2QTrkJ
>
Yes.  The doc is 
.
"Previous topic" provides parameter descriptions.

The author needlessly re-asserts the environment on each command.

ISPF 3.4 is interactive, probably of little use in batch.

Wouldn't it be nice if(?) there were a catalogued PROC with the needed 
allocations
as replaceable parameters?

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IBM-MAIN@LISTSERV.UA.EDU

2023-08-10 Thread esst...@juno.com
Yes I have looked at that page, and not getting any data - so I suspect my 
sytax is incorrect 

-- Original Message --
From: Mike Schwab 
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: IBM-MAIN@LISTSERV.UA.EDU
Date: Thu, 10 Aug 2023 16:23:11 -0500

https://www.ibm.com/docs/en/zos/2.2.0?topic=overview-netstat-command-filter


On Thu, Aug 10, 2023, 15:56 esst...@juno.com  wrote:

> Hello.I am trying to use TSO NETSTAT with a FILTER and keep receiving
> -EZZ2351I Incorrect option: FILTER..I can issue NETSTAT ALL, however there
> too much data..So I'm Trying to use a filter..I have tried many different
> variations such as:NETSTAT (FILTER APPLMAE AWTSTDP3
> NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
> NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
> NETSTAT ALLCONN/a | (FILTER APPLNAME AWTSTDP3
> NETSTAT ALLCONN | (FILTER APPLNAME AWTSTDP3..I can't seem to get the
> syntax correct.Can someone provide an example of using NETSTAT with a
> FILETER and APPLNAME of AWTSTDP3 with the proper syntax?,.paul
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IBM-MAIN@LISTSERV.UA.EDU

2023-08-10 Thread Mike Schwab
https://www.ibm.com/docs/en/zos/2.2.0?topic=overview-netstat-command-filter


On Thu, Aug 10, 2023, 15:56 esst...@juno.com  wrote:

> Hello.I am trying to use TSO NETSTAT with a FILTER and keep receiving
> -EZZ2351I Incorrect option: FILTER..I can issue NETSTAT ALL, however there
> too much data..So I'm Trying to use a filter..I have tried many different
> variations such as:NETSTAT (FILTER APPLMAE AWTSTDP3
> NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
> NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
> NETSTAT ALLCONN/a | (FILTER APPLNAME AWTSTDP3
> NETSTAT ALLCONN | (FILTER APPLNAME AWTSTDP3..I can't seem to get the
> syntax correct.Can someone provide an example of using NETSTAT with a
> FILETER and APPLNAME of AWTSTDP3 with the proper syntax?,.paul
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF in batch

2023-08-10 Thread Mike Schwab
That's not an emulator specific answer.

On Thu, Aug 10, 2023, 12:10 rpinion865 <
042a019916dd-dmarc-requ...@listserv.ua.edu> wrote:

> WOW 1998!
>
>
>
>
> Sent with Proton Mail secure email.
>
> --- Original Message ---
> On Thursday, August 10th, 2023 at 12:32 PM, Sri h Kolusu <
> skol...@us.ibm.com> wrote:
>
>
> > > > Do any one of the group have any experience editing a file under 3.4
> And executing an Init MACRO
> >
> >
> > Steve,
> >
> > Check this
> https://groups.google.com/g/bit.listserv.ispf-l/c/8IxI7mY2hhY/m/e8AnYi2QTrkJ
> >
> > Thanks,
> > Kolusu
> >
> >
> >
> >
> >
> >
> >
> >
> > Regards,
> >
> >
> >
> >
> >
> > Steve
> >
> >
> >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


IBM-MAIN@LISTSERV.UA.EDU

2023-08-10 Thread esst...@juno.com
Hello.I am trying to use TSO NETSTAT with a FILTER and keep receiving -EZZ2351I 
Incorrect option: FILTER..I can issue NETSTAT ALL, however there too much 
data..So I'm Trying to use a filter..I have tried many different variations 
such as:NETSTAT (FILTER APPLMAE AWTSTDP3
NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
NETSTAT ALLCONN (FILTER APPLNAME AWTSTDP3
NETSTAT ALLCONN/a | (FILTER APPLNAME AWTSTDP3
NETSTAT ALLCONN | (FILTER APPLNAME AWTSTDP3..I can't seem to get the syntax 
correct.Can someone provide an example of using NETSTAT with a FILETER and 
APPLNAME of AWTSTDP3 with the proper syntax?,.paul

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF in batch

2023-08-10 Thread rpinion865
WOW 1998!




Sent with Proton Mail secure email.

--- Original Message ---
On Thursday, August 10th, 2023 at 12:32 PM, Sri h Kolusu  
wrote:


> > > Do any one of the group have any experience editing a file under 3.4 And 
> > > executing an Init MACRO
> 
> 
> Steve,
> 
> Check this 
> https://groups.google.com/g/bit.listserv.ispf-l/c/8IxI7mY2hhY/m/e8AnYi2QTrkJ
> 
> Thanks,
> Kolusu
> 
> 
> 
> 
> 
> 
> 
> 
> Regards,
> 
> 
> 
> 
> 
> Steve
> 
> 
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF in batch

2023-08-10 Thread Schmitt, Michael
I think the answer is Yes, but not clear what you mean. Your subject is "ISPF 
in batch" but then you're asking about 3.4. What are you trying to do?


-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Steve Beaver
Sent: Thursday, August 10, 2023 11:04 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ISPF in batch

Do any one of the group have any experience editing a file under 3.4

And executing an Init MACRO







Regards,





Steve




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF in batch

2023-08-10 Thread Sri h Kolusu
>> Do any one of the group have any experience editing a file under 3.4 And 
>> executing an Init MACRO

Steve,

Check this 
https://groups.google.com/g/bit.listserv.ispf-l/c/8IxI7mY2hhY/m/e8AnYi2QTrkJ

Thanks,
Kolusu


 

 

 

Regards,

 

 

Steve 

 


--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


ISPF in batch

2023-08-10 Thread Steve Beaver
Do any one of the group have any experience editing a file under 3.4 

And executing an Init MACRO

 

 

 

Regards,

 

 

Steve 

 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IBM C/C++ for Open Enterprise Languages

2023-08-10 Thread Rick Troth

> ... the IBM Open XL C/C++ compiler is not compatible with XL C/C++
> or xlclang compilers. This incompatibility may pose challenges.
> Python 3.11 is developed using IBM Open XL C/C++, while Python
> 3.10 uses xlclang. As a result, binary packages created for
> Python 3.10 won't work with the IBM Open XL C/C++ compiler.

Come again?
Are you saying that object code for this platform produced by one compiler
is incompatible with object code for this platform produced by the other 
compiler?


The broken compiler "can only be used for open source", but open source 
aficionados would surely use the alternative when compiling their wares.

Free as in speech, not just free as in beer.

Perhaps the broken compiler should come with a surgeon general's warning.
(A meaningful reference in the US where cigarette packaging has, now for 
decades, been required to state "this product is bad for you".)


We continue further down the rabbit hole of software being used for 
controlling people rather than software being used for controlling 
machines.


-- R; <><


On 8/9/23 02:58, David Crayford wrote:

As if we didn’t already have enough z/OS C/C++ compilers :)

I've recently been working on Python bindings for z/OS products and wanted to 
share some useful notes. IBM recently released the IBM C/C++ for Open 
Enterprise Languages on z/OS compiler [1], a free version of IBM Open XL C/C++, 
which is a port of LLVM/clang. This compiler can only be used for open source. 
For example, to build Python, Node, go packages that require a build phase when 
installed or contributing to z/OS open source projects. It's important to note 
that the IBM Open XL C/C++ compiler is not compatible with XL C/C++ or xlclang 
compilers. This incompatibility may pose challenges. Python 3.11 is developed 
using IBM Open XL C/C++, while Python 3.10 uses xlclang. As a result, binary 
packages created for Python 3.10 won't work with the IBM Open XL C/C++ compiler.
To overcome this issue, the recommended solution is to build Python distributions that include 
the source C/C++ code. During the installation process using pip, this code can be built. There 
are a few issues with the new compiler. Firstly, there is no support for "OS" 
linkage, meaning no #pragma linkage(module,OS) or extern 'OS' {}. Custom thunk routines need to 
be written to address this.  Additionally, the compiler supports inline assembly, but the 
-qasmlib= option is not available, making macros unusable. A workaround I 
found is to assemble some HLASM code and copy-paste from the listing.
Moreover, the runtime library is not entirely compatible with XL C/C++. I 
discovered that the __amrc structure is missing, which breaks my pzfile package 
and makes accessing VSAM files nearly impossible. I plan to open a case with 
IBM to address this issue.
Another limitation is that the compiler does not produce source/assembly 
listings. Furthermore, thread level storage is not supported, which complicates 
the process of porting certain libraries.

On a positive note, IBM has open-sourced their zoslib library [2], which 
assists in porting applications to z/OS. There is a lot of useful function in 
this library. It supports dynamically loading and calling modules using thunk 
routines. Unfortunately, there is a comment in the code which states it only 
works with xlclang. The library is Apache 2.0 licensed but it has IBM 
copyright. I'm not a lawyer so I'm unsure of the legalities of using this 
library for product code.

[1] 
https://www.ibm.com/docs/en/cloud-paks/z-modernization-stack/2023.2?topic=languages-cc-open-enterprise-zos
[2] https://github.com/ibmruntimes/zoslib


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN