On Fri, Mar 31, 2017 at 7:18 AM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> To all
>
> Many thanks to all who replied on IBM-MAIN and more off-list!
>
> Wow, I can't believe there are so many friendly IBM-MAIN persons there!
>
> Ok, for archive purposes - there are many tools available:
>
> DFSORT - Yes, I'm familiar with that, but to create jobs with all the
> record selections will take me a while and I'm pressed to get solution
> quickly. Scanning with SDSF could help, but that is tedious.
>
> DAF - Hmmm, that is news to me that it can handle 92 too. Ok, I'm going to
> download that and play with it.
>
> MXG? Sorry, we don't have SAS in the first place.
>
> Omegamon - still in installation phase in our sandbox despite my RACF
> homework being completed. Not useful at this stage.
>
> EasySMF and Spectrum SMF Writer. 30 days trail.
>
> I believe there are gazillion more. (I think, with z/OS v2.1 the RMF
> spreadsheet reporter could help with it?)
>
>
> Ok, I tried out to download all of them. Due to network issues on our
> side, I could only use EasySMF for now because of time constraints and I
> found the reason:
>
> The reason why that symbolics disappeared during IPL (great!) was with the
> use of comment in the one line in a batch job:
>
> BPXBATCH SH rm /tmp/            /* Edit TSO UserId */
>

I completely understand why <whomever> did this. It is just regular a TSO
and/or REXX​ comment. Unfortunately, UNIX comments are a totally different
syntax. BPXBATCH is a UNIX command process, so the mind needs to be in
"UNIX mode". Which can be difficult. This is one reason why I prefer to do
my UNIX work from a true (SSH / Telnet) UNIX shell prompt. It is easier to
keep my mind in "UNIX mode". I have, on rare occasion, done some UNIX work
from ISPF option 6 using the OSHELL command. There is a brain cramp! Using
a TSO command process (in REXX) to issue UNIX commands. Uh, which comment
form do I use? Hint: testing shows that is needs to be the UNIX form:
"OSHELL echo x #x" will echo "x", whereas "OSHELL echo x /* comment */"
which echo "x", the file names in root, "comment", and some file names in
my personal "UNIX home" directory. Not what a TSO user would expect. The
proper way is:

BPXBATCH SH rm /tmp/     # Edit TSO UserId

​The # starts the comment, which always goes to end of line.​


> Can you believe it? The '/*' before the 'Edit' was interpreted as 'delete
> the whole planet earth, below and down...'
>

​Just as any UNIX user, without the "confusion" of a TSO background, would
expect.​ Someone, like me, might even be confused for a bit. I'd likely
never write such a thing. But looking at it, I might easily say "looks OK
to me".



>
> Never again will that comment be allowed there. ;-)
>
> Many thanks to all who helped me out.
>
> Groete / Greetings
> Elardus Engelbrecht
>
>
-- 
"Irrigation of the land with seawater desalinated by fusion power is
ancient. It's called 'rain'." -- Michael McClary, in alt.fusion

Maranatha! <><
John McKown

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

Reply via email to