original array. You probably want to copy it first and then perform
__atoe on the destination.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@list
used?
For performance, there was a recommendation to wrap the
GZIPOutputStream in a BufferedOutputStream. That was on the z14, I don't
know whether it's still required on the z15 bu it shouldn't hurt.
--
Andrew Rowley
/06/21/sending-email-from-zos-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
On 31/08/2024 4:09 am, Steve Beaver wrote:
There is so much JAVA can’t do that we do on MVS like breathing
Not really, there are a few things I wouldn't try (APF etc.) but it's
more the other way round...
--
Andrew Rowley
Black Hil
nd what they provide,
they are very useful.
https://www.ibm.com/docs/api/v1/content/SSA3RN_11.0/com.ibm.java.api.11.doc/com.ibm.jzos/ibm.jzos/module-summary.html
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / sign
-z-os/
Andrew Rowley
--
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
y have multiple systems,
there will always be an LPAR available to use for recovery. Maybe not
always the case...
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send
me systems could also be a challenge, if all your
systems are down. Time to launch your DR systems perhaps - but what if
the offending product is part of the real time data mirrored to the DR
site? And every customer is ringing the DR providor and declaring disaster?
--
Andrew Rowley
Black Hil
t) in note pad!!
If you're trying to write Java outside of an IDE you're doing it the
extremely hard way. It's worth learning the IDE - everything else
becomes much easier.
If you have any questions about Java on z/OS let me know - I'm happy to
help.
--
Andrew R
table overflowed?
Compiled languages also solved this problem a long time ago e.g. vector
in C++.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists
on is grouped together rather than
generating individual OMVS records...
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message:
with SMF30WID = OMVS. IEFACTRT could presumably
process them, but there are potentially thousands per second.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send
re or long after the other processes so
it can be difficult to relate them in the SMF data.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.u
le
tested the total CPU time was over 1 minute, but only 2 hundredths of a
second appeared in the main job SMF record.
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructions,
sen
tmstp": "2023-07-24T15:04:40.61",
"dcuvers": 2,
"dscacces": "NO_PREF",
"dscavail": "DONTCARE",
"dscdate": "2021-09-16",
"dscdesc": "STORAGE CLASS FOR DB2 V12",
"dscdfacc": true,
"dscdfavl": true,
"dscdirb": "DONTCARE",
"dscflag2": 128,
"dscflag3": 64,
"dscflags": 64,
"dscname": "DBCGSC",
"dscpavs": true,
"dscseqb": "DONTCARE",
"dsctime": "10:11:00",
"dscuser": "IBMUSER"
},
...
This works for all DCOLLECT record types (and SMF record types supported
by EasySMF) .
You can also do filtering by various fields, calculations etc - whatever
is required.
--
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
could have hundreds of instances
running from the same CSI and presumably with the same UUID.
Probably the easiest way is to generate a UUID for an instance yourself
as part of your product installation.
--
Andrew Rowley
Black Hill Software
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 Hi
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
ead the details 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
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 blank
"DELETE " || foo
seems much 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
would 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
!
I'm not trying to be negative about 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) an
DD *
CLASSPATH=/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
e language you write it without 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 easi
aster.
--
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
side-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 Sof
of
Rexx, but I hate 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 c
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
less restricted on other 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
e language 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 / arch
to use 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
ave 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 Hil
have 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?
--
And
tdin and stdout
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 / sig
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 wit
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
ting. Obviously 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 / sig
hit 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
Blac
aying 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?
--
And
e there is a specification 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
etc. is probably 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
work.
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
Blac
has, and parallelize work 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
---
ing people to z/OSMF 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?
it look like 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
auto-complete and
syntax checking 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 Sof
y find out 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 acce
/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
hey logged on and updated .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 frees
d to stop what they are doing and set up a meeting 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 put it t
the system, data 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
--
ndividual filesystems are
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. qu
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
ss.
HSM recalls are the big 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-M
s fine if the
filesystems 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?
--
And
.g. "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
uires 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 instruc
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
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
-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
investigated
any 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 with
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
bvious but possibly 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.
--
And
frame 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 Sof
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
nd had kept up 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
ing 20 MSU 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
---
were to compare it
to e.g. my 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
uld be
greatly 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 /
m Recovery Boost 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
It depends what 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
en updated 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
ing systems. 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
syst
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
really happening!
It's 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
for the supplied ddname
writer = RecordWriter.newWriterForDD(ddname);
}
int count = 0;
RecordWriter writer;
}
}
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscribe / signoff / archive access instructio
ng ddname) throws IOException
{
writer = RecordWriter.newWriterForDD(ddname);
}
int count = 0;
RecordWriter writer;
}
}
--
Andrew Rowley
Black Hill Software
--
For IBM-MAIN subscri
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 actual
red no-one 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
--
Fo
sting it in the 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
-
just 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
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
Java code 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 R
me, because "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
---
x27;t have to be repeated.
--
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
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
en more so 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 t
n git 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 Hil
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
e.
So 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
e Rexx etc gain
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 R
ost
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
1 - 100 of 440 matches
Mail list logo