re new tools, e.g. I have been experimenting with Zowe CLI. It's
worth trying for file transfer and can create new datasets, PDS etc. It
only requires z/OSMF on the mainframe, i.e. nothing to install there -
only configuration.
--
Andrew Rowley
Black Hill So
On 8/05/2024 7:40 am, Wayne Bickerdike wrote:
EasySMF. Andrew Rowley may chip in here.
Thanks, yes EasySMF is another option.
There is a Windows based component with canned reports, and Java SMF API
for customized reports that can run on z/OS.
I'm happy to work with you to reproduce some
here:
https://www.blackhillsoftware.com/news/2024/04/29/using-zedc-compression-for-smf-data/
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists
On 23/04/2024 11:55 am, Paul Gilmartin wrote:
On Tue, 23 Apr 2024 10:59:47 +1000, Andrew Rowley wrote:
...
To me, it is much clearer to be explicit, including the concatenation, e.g.
"DELETE " || foo
That overkill is apt to confuse a POSIX shell partisan who would
see the bla
ch clearer about exactly what is happening/expected, which are
variables and which are (expected to be) constant etc.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
use it?
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
never been able to see anything particularly useful.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
bout Rexx. I still use it when
appropriate. But I think z/OS people make a mistake ignoring Java. It's
fast (e.g. 1GB/s for my CICS SMF processing), makes powerful features
available (e.g. the Twilio example to send SMS messages from z/OS) and
it's available on pretty much every z/OS s
PATH=/home/andrewr/java/lib/twilio-10.1.3-jar-with-dependencies.jar
TWILIO_ACCOUNT_SID=xx
TWILIO_AUTH_TOKEN=
//SYSOUT DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
--
Andrew Rowley
Black Hil
t thinking and avoid the traps, but the
rules are there nonetheless.
Java is relatively straightforward, and shares many rules with other
languages - C++, C# etc. I'm not saying Java is perfect - it has its own
traps (int vs Integer etc) but I find it a much easier language to work
with.
--
And
.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
and run them on z/OS using
Java :-)
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
-track. On the other hand, I think zEDC has
to decompress and recompress the data for SMF dump etc. so CICS
compression might save some overhead for SMF housekeeping type
operations, reducing the amount of data going through zEDC?
--
Andrew Rowley
Black Hill Software
e to go back because it is so much easier to get things
done in Java.
Rexx is good for small tasks where the overhead of starting the JVM is
significant, or where there isn't functionality in Java. Otherwise, Java
is my choice.
--
Andrew Rowley
of zEDC with/without the CICS
compression? I have limited samples, but it looks like zEDC might
compress data better if it has been already been compressed by CICS. Of
course, there is the CPU time to consider.
I think I/O can also be much faster for zEDC compressed data.
--
Andrew Rowley
Black
platforms...
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
that is most available makes sense.
But my question was: Why Python? What are the reasons for using Python
rather than e.g. Java?
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access
an existing library or write your own.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
a ZonedDateTime
you can't assign/compare a LocalDateTime without specifying the time
zone. So the class designers can protect you form a whole heap of common
errors, and flag them before the program starts.
--
Andrew Rowley
Black Hill Software
looked into it a few times, but get as far as "significant
indentation" and "no variable declarations" and decide it's not
something I want to use. Is it a sign of weakness to ask the compiler to
help me avoid bugs?
--
Andrew Rowley
use ASCII<->EBCDIC translation, so anything sending binary data is broken.
I think you can override that, but not conveniently.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive
that would run a
mainframe. Especially when you consider limited market size etc.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu
On 20/09/2023 8:37 am, Charles Mills wrote:
Does anyone know of a server URL that will present a revoked certificate (for
my testing purposes)?
Can you create a certificate for your own test site with Lets Encrypt,
then revoke it?
--
Andrew Rowley
Black Hill Software
what is considered "high" and "low" will
depend on your environment. Martin's question about a WLM reset also
applies.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive acces
a "how do I..." question
you will be fine.
Inheritance and interfaces help immensely, because many classes have
common interfaces so you only really need to learn them if you need
their particular specialization.
--
Andrew Rowley
Black Hil
that workloads like Java in
particular can and will easily drive zIIP to 100%. I would have expected
that WLM would be able to manage dispatching priorities to avoid
impacting DB2. That might require e.g. the Java work running in a
discretionary service class.
Is that not the case?
--
Andrew Rowley
cification for what
must be included in each Java version.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
not significant
compared to everyday workload.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.
Is the situation worse now?
There were a lot of things we had to do that went against the
conventional wisdom for WLM at the time - the conventional wisdon did
NOT work well at 100% or on a single CPU.
--
Andrew Rowley
Black Hill Software
onto N-1
threads. It's a bit antisocial on z/OS I know, but that's what WLM is
for. That would definitely drive zIIPs to 100%, potentially for extended
periods.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscr
installation anyway,
it's worth considering.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
he top end, but it becomes something the
customer can turn on and use without analysis.
The current situation sounds like SMT-2 should only be used if you
a) have a single zIIP
or b) are running your zIIPs consistently 100% busy
and for b) you need to turn it off when the workload reduces?
in practice?
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
using VS Code to edit a Java file on z/OS?
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
says a task should be given trusted, it's a stronger
statement than that.
I take it to mean that the task should never be denied access by the
security system, and any denial of access risks the stability or
operation of the system.
--
Andrew Rowley
Black Hill Software
that access is missing when you are
already dealing with a problem.
Not worth the risk, in my view (our security group disagreed!)
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions
/sending-email-from-zos-using-java/
There are a few changes I would make based on what I know now, but the
basics are there. There will be plenty of examples on the internet
showing how to add attachments to an email from Java.
--
Andrew Rowley
Black Hill Software
.sh_history? Or worse - can
the filesystem change indicator tell the difference between a data
update and a metadata (e.g. last accessed date) change?
I'm not saying everything is equal, I'm just saying that freespace is a
lot cheaper than managing a lack of freespace.
--
Andrew Rowley
Black Hill
with the storage
admin group.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
On 14/08/2023 3:30 pm, Jon Perryman wrote:
> On Monday, August 7, 2023 at 04:33:24 PM PDT, Andrew Rowley
wrote:
It comes back to the question I asked earlier - how much space is it
reasonable to use *to do your job* before you have to get the storage
admin involved?
Since you
a security on other platforms etc.
There is some irony in the contradiction between "z/OS because of its
I/O capabilities" and "100GB! Whoa! Be reasonable!"
--
Andrew Rowley
Black Hill Software
--
Fo
supposed to solve are actually a result of having individual
filesystems. They don't have to be solved on other platforms because
they didn't create them in the first place (or there is a better
solution e.g. quotas).
--
Andrew Rowley
Black Hil
On 1/08/2023 12:16 am, Rick Troth wrote:
But, again, an automount per user does not necessarily mean a
filesystem per user.
Agree... but I was specifically talking about a filesystem per user as a
bad thing. This seems to have become a common thing on z/OS.
--
Andrew Rowley
Black Hill
ig problem with that. And authorized_keys is the
sort of question where auditors might require you to be poking around in
users' business.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / arch
ilesystems are all instantly available. If you have a few thousand that
need to be recalled from HSM...
Does HSM release unused space from the filesystem when it is migrated
and recalled, or do you need enough DASD to allocate all the empty space
in all the filesystems?
--
Andrew Rowley
Black Hil
Which users have a
.ssh/authorized_keys file?" much harder to answer.
A filesystem per user is basically equivalent to a SMS storage group and
catalog per user. You get isolation between users, but at the expense of
much more difficult management.
--
Andrew Rowley
Black Hil
a component set up on z/OS, but the advantage is
it uses https connections.
https://www.ibm.com/docs/en/explorer-for-zos
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions
. This aligns with the IBM SMF macros.
There is a Smf15Record class, but it just extends the Smf14Record class
without adding anything. It's basically so you can create a Smf15Record
object when you have a type 15 record, but the field names are still the
smf14... names.
--
Andrew Rowley
Black Hill
ou do) you can add another
filter step:
.filter(r15 -> r15.smfjfcb1().jfcnew())
--
Andrew Rowley
Black Hill Software
--
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
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe
ny further.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
conversion issues to/from git... you just have to be careful editing on
other platforms.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu
to checkout?
Either way, sourceEncoding=UTF8 seems like a good answer to why you
might want to actually have the files encoded in UTF8. Anything else
would seem to be courting unpredictable errors.
--
Andrew Rowley
Black Hill Software
ibly wrong answer would be to checkout in git as UTF8
and tag the files.
If you encode as ISO8859-1, what happens to e.g. literals with
characters not in ISO8859-1? An obvious one would be the Euro character,
but I'm sure there are more.
--
Andrew Rowley
Black Hil
or
other platforms.
The Java API can also convert SMF data to JSON format, so you can use
any of the JSON reporting tools for queries, charts etc.
eg: https://github.com/BlackHillSoftware/easysmf-samples/tree/main/smf2json
--
Andrew Rowley
Black Hill Software
the mainframe for job failures using the
Twilio Java API.
These will hopefully give some ideas about how it might be used.
Andrew Rowley
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access
with the performance
and price improvements in the rest of the industry.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
of a 200 MSU system, it's an expensive system
hugely underutilized, and maybe people start asking what work can be
moved there, how to make better use of the data it contains etc?
--
Andrew Rowley
Black Hill Software
laptop, my money would be on the laptop.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
improved. Having looked at the SMF data from z/OSMF startup, I
suspect the startup time could be cut by 90%+ with a bit of tweaking...)
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access
seem to be a
kludge to work around the dire lack of processing capacity in these
systems anyway. (zIIP does benefit me because I write Java, but I can
still see it's a bad solution.)
--
Andrew Rowley
Black Hill Software
--
Fo
you mean by a client I guess, whether Java support
counts or if you are looking for a pre-built product.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists
to include new root
certificates.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Customers could select whether or not the standard CA
certificates were installed.
That would make life much easier for customers who just want to use TLS
for internet connections, and leave vetting CAs to their operating
system vendors.
--
And
to Import and Add to the SMPE KeyRing.
I wonder whether certificates can be exported from the Java keystore on
z/OS for import into RACF?
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access
happening a lot!
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
something modified locally.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
ame
writer = RecordWriter.newWriterForDD(ddname);
}
int count = 0;
RecordWriter writer;
}
}
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to li
throws IOException
{
writer = RecordWriter.newWriterForDD(ddname);
}
int count = 0;
RecordWriter writer;
}
}
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signo
On 1/03/2023 9:01 am, Andrew Rowley wrote:
The Achilles heel for Java on z/OS seems to be dataset I/O. It's
adequate, but feels like it should be faster. (I haven't actually done
direct comparisons with other languages.)
Following up an old post of my own here, because I did actually compare
would have
additional issues with PDSE.
Just because it hasn't happened doesn't mean you are not vulnerable to
data corruption with the right set of circumstances.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe
HTTP client. I would expect
that CICS Liberty would be able to do this. zOSMF Liberty certainly does.
Liberty will use zEDC if available (zEDC doesn't work with Java 11 yet,
only Java 8).
--
Andrew Rowley
Black Hill Software
-
a guess
that do forever is more likely than do never...
Personally, I prefer something like:
while (TRUE)
{
}
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email
so by specification calculations create
a new object for every intermediate value. Hopefully the compiler can
optimize away most of them, if you require maximum performance.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN
using e.g. JMH (which provides warmups etc. to trigger JIT
optimizations) and try to build the equivalent the other language.
Benchmarks have their pitfalls, but it's probably still better than
trying to compare the native code.
--
Andrew Rowley
Black Hil
ecause "rack off" is a (Australian?) way to
somewhat rudely tell someone to go away. So, "I tried to log on, but
RACF told me to rack off."
It's an accidentally great name for a security product.
--
Andrew Rowley
Black Hill Software
-
.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
a SMP/E environment of course.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
now with JPMS, which is complex
enough just building a jar file.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message
that represents the exact code
that a customer is running.
There is much more overhead and opportunity for error shipping
individual components than full replacement. With the bandwidth etc.
available now full replacement makes much more sense.
--
Andrew Rowley
Black Hill Software
with small systems for far to long.
It's ridiculous that mainframes require software designed for such small
systems. We might enjoy the challenge, but it's just killing the platform.
--
Andrew Rowley
Black Hill Software
--
For IBM
the overhead to start Java looked to be around 1 second elapsed, and
1/4 second of CPU time. After the startup, Java was as fast as C++ in
this test.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive
an advantage for small programs.
The Achilles heel for Java on z/OS seems to be dataset I/O. It's
adequate, but feels like it should be faster. (I haven't actually done
direct comparisons with other languages.)
--
Andrew Rowley
Black Hill Software
everything, not that it exists.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
that my code needs to run
in an environment with much less capacity.
With CPU power in such abundance everywhere else, it makes perfect sense
to spend CPU time to save developer time. A computing platform where CPU
capacity is so constrained becomes hard to justify.
--
Andrew Rowley
Black
tring getJobname() { return jobname; }
public LocalDateTime getSmfDateTime() { return smfDateTime; }
private String system;
private String event;
private String dataset;
private String jobname;
private LocalDateTime smfDateTime;
}
}
--
Andrew Ro
call.
OR
Is it possible to recreate the assembler program functionality in Java?
That is definitely more maintainable than JNI + Assembler, and might be
easier - depending on the function.
--
Andrew Rowley
Black Hill Software
seems to be confused.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
- The compiler might even swap the order of inner/outer loops, so that
part of the calling code ends up inside a loop in the inlined section of
code
These would be very difficult to reflect in a compiler listing (and are
the reasons debugging optimized code is problematic).
--
Andrew Rowley
Black Hill
data, optionally in a gzip or zip file, and process it correctly.
It will also recognize SMF data with no RDW and tell you what is wrong.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access
the RDW.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
. (However there
might be people uploading data who haven't discovered the resulting data
is unusable.)
I have been working with SMF data myself for many years, and this
problem with FTP causes a LOT of customer confusion and frustration.
--
Andrew Rowley
Black Hill Software
akes it unnecessarily complex to decipher. From the documentation I
can't tell whether uploading RECFM U data results in the same data you
started with. At a minimum there must be complications to end up with
the real/correct DCB attributes.
--
Andrew Rowley
Black Hill Soft
on z/OS.
This seems to be surprisingly difficult - IBM doesn't seem to have
considered round trip capability when they wrote the FTP functions.
(Although I haven't tried it with a RECFM U transfer.)
--
Andrew Rowley
Black Hill Software
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
complicated in that there are areas you can't write to.
That's more a design issue though - how you handle multiple lines, do
you wrap etc.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access
port 443. A certificate error would show that the certificate is being
validated.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu
.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
On 26/10/2022 8:47 am, Steve Thompson wrote:
So this is what I want to do:
[already set to the correct location in windows]
get '/u/abc/some.java.file.jar' some.java.file.jar
Try without the quotes? I think the quotes might indicate a dataset
rather than HFS file.
--
Andrew Rowley
Black
between zIIP and CP.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
1 - 100 of 414 matches
Mail list logo