Re: Need Help IPL'ing Linux on Z Install

2017-05-30 Thread Timothy Sipples
If you're looking for some "What next?" ideas, here are some potential
ones, not necessarily in order:

1. If you have a HMC with a DVD-RAM drive, it might be possible to automate
IPL to some degree using a custom DVD.

2. The z/VM 5.3 Evaluation Edition is published as requiring a z10 machine,
but z/VM 5.3 was compatible with the z800 also. If you can IPL anything
from a DVD, the z/VM 5.3 Evaluation Edition might IPL. It'll be a slow IPL
if it does -- the z10 significantly improved DVD IPL performance, as I
recall -- but it might work. Please refer to the z/VM 5.3 Evaluation
Edition license agreement for any use limitations, of course. The
Evaluation Edition can use some ECKD volumes for certain purposes (paging,
spooling), but you might be able to use SCSI volumes instead.

3. If you can get z/VM going, then other operating systems are more
feasible. MUSIC/SP might work, for example. (Again, check the license
agreement and contact the copyright owner if you'd like to make a request.)

4. Mark Post would be the expert, but if you're having trouble with SLES 11
SP1 then try backing up to SLES 11 "SP0" (the original 11.0 release).
According to the SP1 release notes, SUSE added z10 instruction support in
SP1, so that might have broken something on the z800. I've found some other
release notes suggesting that z900/z800 were definitely dropped in SP2 and
perhaps also in SP1.

5. You could also try building Gentoo on your machine. (It'll probably take
a while.) I can't remember if the mainline Linux kernel has retired
z900/z800 support, but if it hasn't, then even today's Gentoo should build.

6. Debian might work. Debian tends to build hyper conservatively for the
lowest common denominator. The current Debian release is "Jessie" Version
8.8.

7. I don't know if you can get KVM built and running on a z800 -- it might
be too far back -- but that'd be fun if you can. Then you'd have a lot of
flexibility to run multiple Linux instances concurrently, and with memory
overcommitment.

8. You might want to consider shifting to LPAR mode and carving your
machine up into two LPARs: one "public" (if you decide to start letting
Internet connected users to play with your machine), the other "private,"
where you can experiment without having to worry about security and other
risks as you try stuff. These LPARs will be equivalent to "air gapped"
servers. You can define the LPARs however you wish, but you will be able to
assure that "public" users cannot take all your "private" capacity, that
you'll always have some minimum reserved "private" capacity that you
decide. But, meanwhile, lots of other people can have fun, too. :-)


Timothy Sipples
IT Architect Executive, Industry Solutions, IBM z Systems, AP/GCG/MEA
E-Mail: sipp...@sg.ibm.com

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


Re: Looks like lots of folks in marketing said thanks but no thanks

2017-05-30 Thread Timothy Sipples
We're getting deep into the weeds here, but I'd like to point out that even
for a live symphonic performance it's technically possible, using today's
technologies and limits of physics, to split the orchestra in half and
still deliver an excellent live performance.

To illustrate how this works, let's suppose the two halves are Orchestra A
and Orchestra B. A is in Vienna, and B is in Tokyo, let's suppose. The
audience is sitting anywhere -- it can be a live concert broadcast, for
example. And let's suppose the conductor is also in Vienna with Orchestra
A, with high fidelity audio and video links, unidirectional from Vienna to
Tokyo. The conductor and Orchestra A start playing. Orchestra B starts
playing a fraction of a second later (assuming the piece calls for a
simultaneous start), guided by the same conductor and Orchestra A's musical
and other queues. The broadcast is transmitted, live, out of Tokyo from the
two feeds and carefully synchronized: one feed remote from Vienna, and one
local from Tokyo. As long as the transmission delay from Vienna to Tokyo
holds steady, everything works in this example

And as long as Orchestra A includes enough of the musicians so that
they don't need to rely on any musical or other cues from Orchestra B.
Orchestra B can, of course, rely on any/all cues from Orchestra A. In this
scenario they would be wearing earpieces or headphones, and they'd have a
video screen to watch the conductor and their fellow musicians in Orchestra
A. Maybe the members of Orchestra B would be wearing virtual reality
goggles.

Anyway, the point is that even with live performances, even with speed of
light transmission delays, a split orchestra can still create first class
live music together. As long as that digital transmission doesn't "wobble"
any more than the atmosphere within a single concert hall between the
musicians' ears would, and with the other caveats, it all works.

This basic approach has been used for live broadcast performances, usually
with vocalists in the Orchestra B part.

In some cases more than two parts are possible: A and B1, B2, B3, etc. When
there are more than two parts the broadcast equipment needs to add
location-specific delays to each of the feeds before transmission in order
to synchronize them properly. But it's possible.

There are some computing analogs to these split orchestral scenarios.


Timothy Sipples
IT Architect Executive, Industry Solutions, IBM z Systems, AP/GCG/MEA
E-Mail: sipp...@sg.ibm.com

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


Re: Question about C++

2017-05-30 Thread scott Ford
Liz,

Perfecto, a big try..

Regards,

Scott

On Tue, May 30, 2017 at 11:23 PM Lizette Koehler 
wrote:

> Will this help?
>
> https://www.tutorialspoint.com/cplusplus/cpp_object_oriented.htm
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of scott Ford
> > Sent: Tuesday, May 30, 2017 7:58 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Question about C++
> >
> > Guys,
> >
> > Where does this old Dino find readable examples in OO programming say in
> > c++?  I am trying to learn it.
> >
> > Regards,
> >
> > Scott
> > On Tue, May 30, 2017 at 10:46 PM David Crayford 
> wrote:
> >
> > > On 30/05/2017 9:52 PM, Charles Mills wrote:
> > > > You're trying to scare the poor man!
> > > >
> > > > After I learned OO, I realized the problem in trying to communicate
> > > > the
> > > concepts.
> > > >
> > > > - The easy-to-grasp explanations are stupid: Animal is a class. Dog
> > > > and
> > > Cat are child classes of Animal. Fido is an instance of Dog. You could
> > > have an inherited public overridden method Speak() and say
> > > myAnimal.Speak() and if it were a Dog it would bark and if it were a
> Cat it
> > would Meow ...
> > >
> > > Agreed. Inheritance should generally be avoided anyway. It has it's
> > > place but composition should be preferred 9 times out of 10.
> > > Inheritance is tightly coupled and can become incomprehensible once it
> > > gets a few layers deep.
> > >
> > > > - The real problems that are solved by the significant features are
> > > > too
> > > hard to explain in a simple tutorial. I solved a problem the other day
> > > with a very sparsely-implemented virtual polymorphic method -- but it
> > > would take me an hour to explain what the problem was.
> > >
> > > Polymorphism is the key principle and you don't need an OO language to
> > > use it. Any language with function pointers can implement polymorphism.
> > > A case in point is the z/OS C stdio runtime which supports many
> > > different types of data source. fopen() is the factory function which
> > > populates the read/write (virtual) function pointers in the FILE
> > > structure. There's no reason why you can't write OO code in assembler.
> > > I see lots of assembler code with constitutional logic littered
> > > throughout which call different functions depending on some type which
> > > would benefit from an OO design.
> > >
> > > > Charles
> > > >
> > > >
> > > > -Original Message-
> > > > From: IBM Mainframe Discussion List
> > > > [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > > On Behalf Of David Crayford
> > > > Sent: Tuesday, May 30, 2017 5:23 AM
> > > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > > Subject: Re: Question about C++
> > > >
> > > > This might bewilder you some more ...
> > > >
> > > > 
> > > > -- 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
> > >
> > --
> > Scott Ford
> > IDMWORKS
> > z/OS Development
> >
> > --
> > 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
>
-- 
Scott Ford
IDMWORKS
z/OS Development

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Paul Gilmartin
On Tue, 30 May 2017 22:29:34 -0500, Mike Schwab wrote:
>
>> But a desktop system, outside the radius of destruction, with UPS?
>> And I'd expect the manuals on the MF to be replicated at the DR site.
>>
>Laptop with needed manuals.  Hours of power.  Recharge with vehicle. 
>
I'd count that as UPS.  And you could place the laptop on a desk.

>Data modem via cell phone tower.  Better for a flash drive than
>spinning drive.  Maybe even a bootable flash drive with needed
>software and manuals that can be connected to almost any PC and run.
>
Any of the above.

>Maybe even Hercules and a Stand Alone Recovery system with Spool and
>z/OS manuals?
> 
Licensing?  That might have to be an MVS 3.8 Recovery System.

-- gil

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Mike Schwab
On Tue, May 30, 2017 at 10:30 AM, Paul Gilmartin
<000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
> On Tue, 30 May 2017 08:43:15 -0500, Edward Gould wrote:
>>—SNIP—
>>
>>That is why I submit that HC manuals are still needed will always be needed.
>>When your system is down its down and having manuals on there MF is useless.
>>
> But a desktop system, outside the radius of destruction, with UPS?
>
> And I'd expect the manuals on the MF to be replicated at the DR site.
>
> -- gil
>
Laptop with needed manuals.  Hours of power.  Recharge with vehicle.
Data modem via cell phone tower.  Better for a flash drive than
spinning drive.  Maybe even a bootable flash drive with needed
software and manuals that can be connected to almost any PC and run.
Maybe even Hercules and a Stand Alone Recovery system with Spool and
z/OS manuals?


-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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


Re: Question about C++

2017-05-30 Thread Lizette Koehler
Will this help?

https://www.tutorialspoint.com/cplusplus/cpp_object_oriented.htm

Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of scott Ford
> Sent: Tuesday, May 30, 2017 7:58 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Question about C++
> 
> Guys,
> 
> Where does this old Dino find readable examples in OO programming say in
> c++?  I am trying to learn it.
> 
> Regards,
> 
> Scott
> On Tue, May 30, 2017 at 10:46 PM David Crayford  wrote:
> 
> > On 30/05/2017 9:52 PM, Charles Mills wrote:
> > > You're trying to scare the poor man!
> > >
> > > After I learned OO, I realized the problem in trying to communicate
> > > the
> > concepts.
> > >
> > > - The easy-to-grasp explanations are stupid: Animal is a class. Dog
> > > and
> > Cat are child classes of Animal. Fido is an instance of Dog. You could
> > have an inherited public overridden method Speak() and say
> > myAnimal.Speak() and if it were a Dog it would bark and if it were a Cat it
> would Meow ...
> >
> > Agreed. Inheritance should generally be avoided anyway. It has it's
> > place but composition should be preferred 9 times out of 10.
> > Inheritance is tightly coupled and can become incomprehensible once it
> > gets a few layers deep.
> >
> > > - The real problems that are solved by the significant features are
> > > too
> > hard to explain in a simple tutorial. I solved a problem the other day
> > with a very sparsely-implemented virtual polymorphic method -- but it
> > would take me an hour to explain what the problem was.
> >
> > Polymorphism is the key principle and you don't need an OO language to
> > use it. Any language with function pointers can implement polymorphism.
> > A case in point is the z/OS C stdio runtime which supports many
> > different types of data source. fopen() is the factory function which
> > populates the read/write (virtual) function pointers in the FILE
> > structure. There's no reason why you can't write OO code in assembler.
> > I see lots of assembler code with constitutional logic littered
> > throughout which call different functions depending on some type which
> > would benefit from an OO design.
> >
> > > Charles
> > >
> > >
> > > -Original Message-
> > > From: IBM Mainframe Discussion List
> > > [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of David Crayford
> > > Sent: Tuesday, May 30, 2017 5:23 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: Re: Question about C++
> > >
> > > This might bewilder you some more ...
> > >
> > > 
> > > -- 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
> >
> --
> Scott Ford
> IDMWORKS
> z/OS Development
> 
> --
> 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: Question about C++

2017-05-30 Thread scott Ford
Guys,

Where does this old Dino find readable examples in OO programming say in
c++?  I am trying to learn it.

Regards,

Scott
On Tue, May 30, 2017 at 10:46 PM David Crayford  wrote:

> On 30/05/2017 9:52 PM, Charles Mills wrote:
> > You're trying to scare the poor man!
> >
> > After I learned OO, I realized the problem in trying to communicate the
> concepts.
> >
> > - The easy-to-grasp explanations are stupid: Animal is a class. Dog and
> Cat are child classes of Animal. Fido is an instance of Dog. You could have
> an inherited public overridden method Speak() and say myAnimal.Speak() and
> if it were a Dog it would bark and if it were a Cat it would Meow ...
>
> Agreed. Inheritance should generally be avoided anyway. It has it's
> place but composition should be preferred 9 times out of 10. Inheritance
> is tightly coupled and can become incomprehensible once it gets a few
> layers deep.
>
> > - The real problems that are solved by the significant features are too
> hard to explain in a simple tutorial. I solved a problem the other day with
> a very sparsely-implemented virtual polymorphic method -- but it would take
> me an hour to explain what the problem was.
>
> Polymorphism is the key principle and you don't need an OO language to
> use it. Any language with function pointers can implement polymorphism.
> A case in point is the z/OS C stdio runtime which supports many
> different types of data source. fopen() is the factory function which
> populates the read/write (virtual) function pointers in the FILE
> structure. There's no reason why you can't write OO code in assembler. I
> see lots of assembler code with constitutional logic littered throughout
> which call different functions depending on some type which would
> benefit from an OO design.
>
> > Charles
> >
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of David Crayford
> > Sent: Tuesday, May 30, 2017 5:23 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Question about C++
> >
> > This might bewilder you some more ...
> >
> > --
> > 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
>
-- 
Scott Ford
IDMWORKS
z/OS Development

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


Re: Question about C++

2017-05-30 Thread David Crayford

On 30/05/2017 9:52 PM, Charles Mills wrote:

You're trying to scare the poor man!

After I learned OO, I realized the problem in trying to communicate the 
concepts.

- The easy-to-grasp explanations are stupid: Animal is a class. Dog and Cat are 
child classes of Animal. Fido is an instance of Dog. You could have an 
inherited public overridden method Speak() and say myAnimal.Speak() and if it 
were a Dog it would bark and if it were a Cat it would Meow ...


Agreed. Inheritance should generally be avoided anyway. It has it's 
place but composition should be preferred 9 times out of 10. Inheritance 
is tightly coupled and can become incomprehensible once it gets a few 
layers deep.



- The real problems that are solved by the significant features are too hard to 
explain in a simple tutorial. I solved a problem the other day with a very 
sparsely-implemented virtual polymorphic method -- but it would take me an hour 
to explain what the problem was.


Polymorphism is the key principle and you don't need an OO language to 
use it. Any language with function pointers can implement polymorphism. 
A case in point is the z/OS C stdio runtime which supports many 
different types of data source. fopen() is the factory function which 
populates the read/write (virtual) function pointers in the FILE 
structure. There's no reason why you can't write OO code in assembler. I 
see lots of assembler code with constitutional logic littered throughout 
which call different functions depending on some type which would 
benefit from an OO design.



Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of David Crayford
Sent: Tuesday, May 30, 2017 5:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++

This might bewilder you some more ...

--
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: A slight regression

2017-05-30 Thread John McKown
On Tue, May 30, 2017 at 7:48 PM, David Crayford  wrote:

> ​
>
>
> If you download IBMs beta nodejs port you will get a free C compiler and
> runtime 
>

​The beta nodejs port requires z/OS 2.2 or above. I'm stuck on z/OS 1.12.

-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread John McKown
On Tue, May 30, 2017 at 7:13 PM, Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Tue, 30 May 2017 18:46:36 -0500, Edward Gould wrote:
> >>>
> >>> I also don’t trust PC’s for various reasons.
> >>>
> >> How recently have you used one?  How long could you operate
> >> without using one?  What's in the HMC?
> >I use a mac everyday as for PC’s I stay away from them as long as I can.
> >
> I more intended "pc" generic than "PC" trademarked.  Is there a convenient
> inclusive term?  How do you classify Linux on a generic Intel system?
>

​Linux on Intel is often called "Lintel" vs. Window on Intel being
"Wintel".​



> On an Arm?
>

​Larm? Or, better, Linux/Arm. Or to satisfy RMS: GNU/Linux/Arm​

-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

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


Re: Survey: How many APF-authorized libraries?

2017-05-30 Thread Charles Mills
Wow! Thanks all! Thanks for the responses.

I'm impressed. Not one four-digit answer. That's great!

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of scott Ford
Sent: Tuesday, May 30, 2017 11:31 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Survey: How many APF-authorized libraries?

maybe 20-30 we are all development

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


Re: A slight regression

2017-05-30 Thread David Crayford
> On 31 May 2017, at 2:19 am, John McKown  wrote:
> 
>> On Tue, May 30, 2017 at 1:07 PM, scott Ford  wrote:
>> 
>> All:
>> 
>> I saw a thread between Peter Fairley and John  in April, this year speaking
>> about a cobol program calling C ..I am in the same board but did not see
>> the C code. Can some one help me out and point me to the C routine or
>> function ?
>> 
> 
> ​Minor example at:
> https://gist.github.com/JohnArchieMckown/5b973d46108bd24e0c6f9233c96176b0
> 
> Calls the C subroutines: cuserid(), strlen(). and sscanf(). I don't have a
> C compiler, so I don't have an example of any "user written" C code.
> 

If you download IBMs beta nodejs port you will get a free C compiler and 
runtime 



> 
> 
>> 
>> Thanks and I appreciate it
>> 
>> --
>> 
>> *IDMWORKS *
>> 
>> Scott Ford
>> 
>> z/OS Dev.
>> 
> 
> 
> -- 
> Windows. A funny name for a operating system that doesn't let you see
> anything.
> 
> Maranatha! <><
> John McKown
> 
> --
> 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: How to call VS COBOL II RES program from COBOL V5.2-enabled assembler?

2017-05-30 Thread Farley, Peter x23353
EXEC PGM=ASM1 (LOAD and CALL)--> VSCOB2RES
Also:   ASM1 (LOAD and CALL via CEEPIPI)--> eCOBOL52

Two different CALL's in one top-level assembler program to COBOL programs 
compiled with different COBOL compilers.  Either or both COBOL programs may be 
called multiple times in one execution of ASM1.

My question was prompted by the eCOBOL V5.2 migration statement that COBOL V5.2 
programs can call and be called by VS COBOL II RES programs.  I cannot use 
CEEPIPI to CALL the VS COBOL II RES program because CEEPIPI returns RC=20 when 
you try to add it to the CEEPIPI table.

I can call the VS COBOL II RES program multiple times if I first LOAD and call 
IGZERRE once (the LE version from CEE.SCEERUN), but using IGZERRE and CEEPIPI 
together is not allowed either according to the migration guide (cannot 
establish 2 different COBOL environments at the same time in the same LE 
enclave, which makes sense to me).

If eCOBOL V5.2 can call and be called by VS COBOL II RES programs, how does it 
do that, and how can I do the same thing?

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Tuesday, May 30, 2017 8:30 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How to call VS COBOL II RES program from COBOL V5.2-enabled 
assembler?

Could you explain a little more of the calling order?  When you quote from the 
eCOBOL V5.3 manual, I tend to get confused as to what you are trying to do.


Assm --> VS COBOL II

eCOBOL V5.3 -->  Assm -->  VS Cobol II


VS Cobol should run as the SCEERU N libraries will contain the required 
modules.  I am not sure why this may not work.

Lizette


-Original Message-
>From: "Farley, Peter x23353" 
>Sent: May 30, 2017 4:41 PM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: How to call VS COBOL II RES program from COBOL V5.2-enabled assembler?
>
>The COBOL V5.2 Migration Guide (GC14-7383-03) says:
>
>"Enterprise COBOL V5 programs can dynamically call (and be dynamically called 
>by) VS COBOL II RES programs."
>
>If I have an existing assembler program which calls a VS COBOL II RES program 
>after calling the older COBOL environment setup program IGZERRE, how can I now 
>call the existing VS COBOL II RES program using the CEEPIPI technique mandated 
>for COBOL V5.2 subroutines?
>
>In other words, if COBOL V5.2 can call a VS COBOL II RES program, how do I now 
>do this myself from assembler when I may also be calling COBOL V5.2 
>subroutines which require the use of CEEPIPI to make a call?
>
>The problem is that the CEEPIPI (add_sub) function call returns error RC=20 
>(not an LE program) for VS COBOL II RES programs I have tested so far, so I do 
>not see any way to use CEEPIPI to call such routines.
>
>Currently in my assembler code I found that I can identify VS COBOL II RES 
>programs (after a LOAD) by the compiler ID string "C2 1.3.1" at zero-relative 
>offset decimal 14 (1-relative byte position 15) in the generated object code.  
>The compiler listing header for such programs is:
>
>PP 5668-958 IBM VS COBOL II Release 3.1 09/19/89
>
>Is this COBOL version too old to be LE-compatible, even when programs were 
>compiled with the RESident option?
>
>Peter
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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


Re: How to call VS COBOL II RES program from COBOL V5.2-enabled assembler?

2017-05-30 Thread Lizette Koehler
Could you explain a little more of the calling order?  When you quote from the 
eCOBOL V5.3 manual, I tend to get confused as to what you are trying to do.


Assm --> VS COBOL II

eCOBOL V5.3 -->  Assm -->  VS Cobol II


VS Cobol should run as the SCEERU N libraries will contain the required 
modules.  I am not sure why this may not work.

Lizette


-Original Message-
>From: "Farley, Peter x23353" 
>Sent: May 30, 2017 4:41 PM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: How to call VS COBOL II RES program from COBOL V5.2-enabled assembler?
>
>The COBOL V5.2 Migration Guide (GC14-7383-03) says:
>
>"Enterprise COBOL V5 programs can dynamically call (and be dynamically called 
>by) VS COBOL II RES programs."
>
>If I have an existing assembler program which calls a VS COBOL II RES program 
>after calling the older COBOL environment setup program IGZERRE, how can I now 
>call the existing VS COBOL II RES program using the CEEPIPI technique mandated 
>for COBOL V5.2 subroutines?
>
>In other words, if COBOL V5.2 can call a VS COBOL II RES program, how do I now 
>do this myself from assembler when I may also be calling COBOL V5.2 
>subroutines which require the use of CEEPIPI to make a call?
>
>The problem is that the CEEPIPI (add_sub) function call returns error RC=20 
>(not an LE program) for VS COBOL II RES programs I have tested so far, so I do 
>not see any way to use CEEPIPI to call such routines.
>
>Currently in my assembler code I found that I can identify VS COBOL II RES 
>programs (after a LOAD) by the compiler ID string "C2 1.3.1" at zero-relative 
>offset decimal 14 (1-relative byte position 15) in the generated object code.  
>The compiler listing header for such programs is:
>
>PP 5668-958 IBM VS COBOL II Release 3.1 09/19/89
>
>Is this COBOL version too old to be LE-compatible, even when programs were 
>compiled with the RESident option?
>
>Peter
>--
>
>

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Paul Gilmartin
On Tue, 30 May 2017 18:46:36 -0500, Edward Gould wrote:
>>> 
>>> I also don’t trust PC’s for various reasons.
>>> 
>> How recently have you used one?  How long could you operate
>> without using one?  What's in the HMC?
>I use a mac everyday as for PC’s I stay away from them as long as I can. 
>
I more intended "pc" generic than "PC" trademarked.  Is there a convenient
inclusive term?  How do you classify Linux on a generic Intel system?
On an Arm?

For a brief shining moment I had an employer who deprecated Windows
as a competitor's product.  Alas, I failed to request a MacBook Pro during
that interval because a surfeit of conscience misled me to conclude that
the Toshiba/Windows that accompanied me was sufficient.

>As for the HMC sorry I don’t touch them, I don’t trust them as you can bring 
>down the entire plex by accident. I don’t want the responsibility. That is 
>someone else bailywick.

-- gil

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


Re: Question about C++

2017-05-30 Thread Steve Smith
C++ is my favorite language (I was historically a PL/I fan), but it's a
deep pool to get into.  Decent object-oriented programming requires
learning a whole bunch of new ways to do things, and think about things.
There are many layers now of functionality, and there's no serious "Learn
C++ In Seven Days" book any more.  The language has grown and expanded
quite a bit past where my knowledge and experience ends.

But I definitely agree that's it's useful as "enhanced C".  But as you
learn more, you can implement more and better patterns... try not to rush
it too much, and free advice: write, don't read (code).  There may be a
1000 ways to do things wrong in assembler, but there's billions in C++.  So
be careful about the examples you emulate.  The founder of C++ said
something like "You can shoot yourself in the foot with any language, but
with C++, it'll blow your leg clean off."

Eventually, the big problem with OOP is designing an intelligent class
hierarchy to solve a particular problem.  And that is where so many go
wrong.  The real world of applications rarely comes up with something as
obvious as Thing: Animal/Vegetable/Mineral. Animal: Cat/Dog.

And then you can get into templates, and whatever new & crazy stuff they've
thought of recently.  It's a whole new world, lots of fun, but it gets a
long long way away from what you're probably used to in assembly (or C for
that matter).  But again, a subset of C++ is useful and valuable; you don't
have to (and it's probably insane to) use every feature.

sas

On Tue, May 30, 2017 at 12:18 PM, Kirk Wolf  wrote:

> We use a small subset of C++ (better C) on z/OS:
>
> classes (encapsulation)  (but very little use of inheritance)
> RIAA
> exceptions
> better type checking
> improved syntax (like late declaration of variables)
> inlining of functions in class header  (and very little use of function
> macro)
>
>
> Kirk Wolf
> Dovetailed Technologies
> http://dovetail.com
>
> On Tue, May 30, 2017 at 7:22 AM, David Crayford 
> wrote:
>
> > This might bewilder you some more because C++ is a tricky language for a
> > beginner. It''s a simple thin wrapper class around C stdio that provides
> > RAII and some return value checks that throw exception when errors occur.
> > If you can work this out you're well on your way to being competent. It's
> > mainly meant as a demonstrator for constructors/destructors which are
> > fundamental to C++ programming.
> >
> > #include 
> > #include 
> > #include 
> > #include 
> >
> > class File
> > {
> > public:
> > // default constructor
> > File() : m_file( 0 ) {}
> >
> > // constructor - opens the file
> > File( const std::string & filename, const std::string & mode )
> > : m_file( 0 )
> > {
> > std::cout << "constructor\n";
> > open( filename, mode );
> > }
> >
> > // move constructor - takes ownership of the underlying file object
> > File( File && rhs ) : m_file(0)
> > {
> > std::cout << "move constructor\n";
> > m_file = rhs.m_file;
> > rhs.m_file = 0;
> > }
> >
> > // destructor
> > ~File()
> > {
> > close();
> > }
> >
> > public:
> > // opens a file
> > void open( const std::string & filename, const std::string & mode )
> > {
> > std::cout << "opening file " << filename << "\n";
> > m_file = fopen( filename.c_str(), mode.c_str() );
> > if (!m_file) throw std::runtime_error( "Error opening file: " +
> > std::string( strerror( errno ) ) );
> > }
> >
> > // closes the files
> > void close()
> > {
> > if (m_file)
> > {
> > std::cout << "closing file\n";
> > fclose( m_file );
> > m_file = 0;
> > }
> > }
> >
> > // reads from the file
> > int read( void * buffer, size_t size )
> > {
> > return fread( buffer, 1, size, m_file );
> > }
> >
> > // writes to the file
> > int write( const void * buffer, size_t size )
> > {
> > int bytesWritten = fwrite( buffer, 1, size, m_file );
> > if (bytesWritten == 0) // I/O error
> > {
> > throw std::runtime_error( std::string( "Error writing to
> file:
> > " + std::string( strerror( errno ) ) ) );
> > }
> > return bytesWritten;
> > }
> >
> > private:
> > FILE * m_file;  // file handle
> > };
> >
> > // factory function to demonstrate change of ownership
> > File openFile( const std::string filename, const std::string & mode )
> > {
> > File file( filename, mode );
> > return file;
> > }
> >
> > int main( int argc, char * argv[] )
> > {
> > try
> > {
> > // open the files
> > File input = openFile( "DD:INPUT", "rb, type=record, noseek" );
> > File output( "DD:OUTPUT", "wb, type=record" );
> > // copy the input file to the output file
> > size_t bytesRead;
> > char 

Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Edward Gould
> On May 30, 2017, at 12:54 PM, Paul Gilmartin 
> <000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
> 
> On Tue, 30 May 2017 11:46:51 -0500, Edward Gould wrote:
>> 
>> I also don’t trust PC’s for various reasons.
>> 
> How recently have you used one?  How long could you operate
> without using one?  What's in the HMC?
I use a mac everyday as for PC’s I stay away from them as long as I can. 
As for the HMC sorry I don’t touch them, I don’t trust them as you can bring 
down the entire plex by accident. I don’t want the responsibility. That is 
someone else bailywick.

Ed
> 
> -- 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: A slight regression

2017-05-30 Thread scott Ford
Peter/John:

Thanks for the help I got my Cobol call to C working fine...This made my
day guys.
Much appreciated.

Regards,
Scott

On Tue, May 30, 2017 at 2:51 PM, Farley, Peter x23353 <
peter.far...@broadridge.com> wrote:

> Scott,
>
> That exchange between John and I (around April 7) was about calling C
> library functions directly from COBOL.  It works if you use a static call
> (COBOL literal for the entry point name in UPPER CASE, NODYNAM COBOL
> compiler option) because the C library function load modules (in
> CEE.SCEELKED) have an external reference to the LE initialization
> subroutine CEESG003 which will do C language startup initialization in the
> enclave.  A dynamic COBOL CALL to a C library function (variable name in
> the CALL or DYNAM COBOL compiler option) will not work unless you manually
> use an INCLUDE SYSLIB(CEESG003) link edit control card for your link step
> to get the C language initialization performed, and include CEE.SCEELKED in
> the link edit SYSLIB DD.
>
> Your code example below should "just work" in terms of getting the C
> language initialization done because your C subroutine will have an
> external reference to CEESG003, but passing strings and integers is
> trickier, because the C language uses (mostly) "pass by VALUE" instead of
> the COBOL default of "pass by REFERENCE (i.e., pointers)".  You have to
> carefully use the BY REFERENCE and BY VALUE attributes for the COBOL USING
> variables.  Integers (and probably floats/doubles as well) must be BY
> VALUE.  Any structures or arrays (including strings!) or function pointers
> must be BY REFERENCE.
>
> COBOL does have PICTURE usage type "Z" for zero-terminated strings, so you
> don't have to use the STRING verb to construct constant strings with a
> zero-byte terminator to call C modules.  I haven't experimented with moving
> "normal" COBOL strings (PIC X) to a PIC Z variable, so I do not know if
> that would work properly.
>
> HTH
>
> Peter
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of scott Ford
> Sent: Tuesday, May 30, 2017 2:27 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: A slight regression
>
> John,
>
> I didnt realize you could call C library functions directly, very cool  ,
> here is what i would like to do:
>
>  FILE SECTION.
>WORKING-STORAGE SECTION.
>77 TESTSTR   PIC X(30) VALUE SPACES.
>77 VAR1  PIC S9(9) BINARY VALUE 5.
>PROCEDURE DIVISION.
>-MAIN.
>   * MOVE 1 TO P1.
>   * DISPLAY 'P1: ' P1
>   * CALL 'CFUNC' USING P1 RETURNING P2
>   * DISPLAY 'P1: ' P1
>   * DISPLAY 'P2: ' P2
> STRING 'TEST STRING' ,
>LOW-VALUE
> DELIMITED BY SIZE INTO TESTSTR
> DISPLAY 'CALL CENTRY USING: ' TESTSTR
> CALL 'CENTRY' USING  TESTSTR.
> GOBACK.
>
> 
>
> #include 
> #include 
> #include 
> void CENTRY(char* mystring)
> {
>   printf("my string: %s \n",mystring);
> }
>
> I am trying to understand how to perform the call and pass a string and or
> a integer ...
>
> Thanks John..
>
> Regards.
> Scott
>
> On Tue, May 30, 2017 at 2:19 PM, John McKown  >
> wrote:
>
> > On Tue, May 30, 2017 at 1:07 PM, scott Ford  wrote:
> >
> > > All:
> > >
> > > I saw a thread between Peter Fairley and John  in April, this year
> > speaking
> > > about a cobol program calling C ..I am in the same board but did not
> > > see the C code. Can some one help me out and point me to the C
> > > routine or function ?
> > >
> >
> > ​Minor example at:
> > https://gist.github.com/JohnArchieMckown/5b973d46108bd24e0c6f9233c9617
> > 6b0
> >
> > Calls the C subroutines: cuserid(), strlen(). and sscanf(). I don't
> > have a C compiler, so I don't have an example of any "user written" C
> code.
> >
> >
> >
> > >
> > > Thanks and I appreciate it
> > >
> > > --
> > >
> > > *IDMWORKS *
> > >
> > > Scott Ford
> > >
> > > z/OS Dev.
> > >
> >
> >
> > --
> > Windows. A funny name for a operating system that doesn't let you see
> > anything.
> >
> > Maranatha! <><
> > John McKown
> >
> --
>
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by
> e-mail and delete the message and any attachments from your system.
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 



*IDMWORKS *

Scott Ford

z/OS Dev.




“By elevating 

How to call VS COBOL II RES program from COBOL V5.2-enabled assembler?

2017-05-30 Thread Farley, Peter x23353
The COBOL V5.2 Migration Guide (GC14-7383-03) says:

"Enterprise COBOL V5 programs can dynamically call (and be dynamically called 
by) VS COBOL II RES programs."

If I have an existing assembler program which calls a VS COBOL II RES program 
after calling the older COBOL environment setup program IGZERRE, how can I now 
call the existing VS COBOL II RES program using the CEEPIPI technique mandated 
for COBOL V5.2 subroutines?

In other words, if COBOL V5.2 can call a VS COBOL II RES program, how do I now 
do this myself from assembler when I may also be calling COBOL V5.2 subroutines 
which require the use of CEEPIPI to make a call?

The problem is that the CEEPIPI (add_sub) function call returns error RC=20 
(not an LE program) for VS COBOL II RES programs I have tested so far, so I do 
not see any way to use CEEPIPI to call such routines.

Currently in my assembler code I found that I can identify VS COBOL II RES 
programs (after a LOAD) by the compiler ID string "C2 1.3.1" at zero-relative 
offset decimal 14 (1-relative byte position 15) in the generated object code.  
The compiler listing header for such programs is:

PP 5668-958 IBM VS COBOL II Release 3.1 09/19/89

Is this COBOL version too old to be LE-compatible, even when programs were 
compiled with the RESident option?

Peter
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

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


Re: Component IDs?

2017-05-30 Thread Charles Mills
We (my employer) have and use a component ID officially approved by IBM. We
use it for 

- The 2nd through 4th characters of all of our SMP/E FMIDs (if I am
remembering SMP/E correctly)
- The first three letters of all of our module and entry point names, with
at least one exception where we alias to the name of a component that we
front-end
- The first three letters of all of our message IDs

We are z/OS only. Well, in the z world, we are z/OS only. We have LUW stuff
where I think we do whatever feels right at the time.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Phil Smith
Sent: Tuesday, May 30, 2017 2:36 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Component IDs?

John P. Hartmann wrote:
>So you set EMSG TEXT?  Naughty, naughty.  If you set EMSG ON, you'll see
the message ID, which is prefixed the component ID.

>To answer your question:  Yes.  Everyone must.

Bite your tongue-*I* don't SET EMSG TEXT, haven't in 40 years!

In z/VM this stuff is pretty rigorous. In z/OS, not so much. Yet due to
SMP/E the need for a unique component ID is clear even for vendor stuff. How
many VM ISV products use an assigned ID? Not many that I can think of.
Some/many/most use *an* ID, but was it assigned by IBM?

--
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


[OT] Retro computing videos

2017-05-30 Thread Neale Ferguson
For those who like S/360 hardware this guy has an interesting YouTube
channel that includes a 360/50 front panel, Model 29 and 26 key punches,
and various S/360 hardware items.

https://www.youtube.com/playlist?list=PL-_93BVApb5_9vpvd1UYkFQCgBLlhM4DF

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


Re: Component IDs?

2017-05-30 Thread Phil Smith
John P. Hartmann wrote:
>So you set EMSG TEXT?  Naughty, naughty.  If you set EMSG ON, you'll see the 
>message ID, which is prefixed the component ID.

>To answer your question:  Yes.  Everyone must.

Bite your tongue-*I* don't SET EMSG TEXT, haven't in 40 years!

In z/VM this stuff is pretty rigorous. In z/OS, not so much. Yet due to SMP/E 
the need for a unique component ID is clear even for vendor stuff. How many VM 
ISV products use an assigned ID? Not many that I can think of. Some/many/most 
use *an* ID, but was it assigned by IBM?

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


Re: Component IDs?

2017-05-30 Thread Phil Smith
Alan Altmark wrote:
>Yes.  All z Systems software is required to have a 3-character component
>ID.  In z/VM, you see HCP, DMS, RPI, AGW, VMF, GCT, DMT, etc.

>This requirement flows from the authority of and IBM Corporate Standard
>"Naming Methods".  From there you get to message header requirements and
>interface/field names.

"all z Systems software" - so Yes to z/VSE, z/TPF?

"z Systems software" - just system stuff, or including applications?

What about the tons of stuff that doesn't conform? Is it grandfathered?

None of this matters, of course-you know I'm a pedant about such things (among 
others, yeah, yeah).

...phsiii

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


Re: HSM Backup to Disk

2017-05-30 Thread Steve Beaver
Innovation has a product that does point in time copies and its extremely fast.

It was set up when all the primary DASD was in the 1000 to 1 range
The FDR DASD was in  the 2000-2FF00 range.

The we would SNAP the 1000 to 1 in groups of 48 the 2FFFxx range then dump 
the
Point in time backups.  However there was an over decision to go to an all DISK 
Solution.

The 2 range was never addressable or copied over to the DR box




-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tom Marchant
Sent: Tuesday, May 30, 2017 3:59 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HSM Backup to Disk

On Tue, 30 May 2017 15:51:55 -0500, John McKown wrote:

>On Tue, May 30, 2017 at 3:41 PM, Rugen, Len wrote:
>
>> Would the cloud tape connector work?
>> https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=
>> ca=an=897=ENUS216-052
>
>
>​[shudder] I hope that _everything_ that is sent to such an environment 
>is encrypted. And not really too important. I've read too many stories 
>about off-site providers who just plain failed. Making the data 
>irretrievable ​either permanently or until the courts "do something".

I agree. I wouldn't want to trust that my data was safe in the fog.

--
Tom Marchant

--
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


Component IDs?

2017-05-30 Thread Phil Smith
We have a component ID or two assigned by IBM, for use with our products. In 
SMP/E, we use these to name our FMIDs, so we can't run into another product (or 
if we do, we can say "Hey, we got ours from IBM, get outta our way!"). We also 
prefix all our messages with them, of course, because that's The Right Thing To 
Do (right? Right?? RIGHT???)

Does z/VM use IBM-assigned component IDs/product prefixes/whatever you want to 
call them? What about z/VSE? z/TPF?
--
...phsiii

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


Re: HSM Backup to Disk

2017-05-30 Thread Tom Marchant
On Tue, 30 May 2017 15:51:55 -0500, John McKown wrote:

>On Tue, May 30, 2017 at 3:41 PM, Rugen, Len wrote:
>
>> Would the cloud tape connector work?
>> https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=
>> ca=an=897=ENUS216-052
>
>
>​[shudder] I hope that _everything_ that is sent to such an environment is
>encrypted. And not really too important. I've read too many stories about
>off-site providers who just plain failed. Making the data irretrievable
>​either permanently or until the courts "do something".

I agree. I wouldn't want to trust that my data was safe in the fog.

-- 
Tom Marchant

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


Re: HSM Backup to Disk

2017-05-30 Thread John McKown
On Tue, May 30, 2017 at 3:41 PM, Rugen, Len  wrote:

> Would the cloud tape connector work?
> https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=
> ca=an=897=ENUS216-052


​[shudder] I hope that _everything_ that is sent to such an environment is
encrypted. And not really too important. I've read too many stories about
off-site providers who just plain failed. Making the data irretrievable
​either permanently or until the courts "do something".



>
>
> Len Rugen
>
>

-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

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


Re: HSM Backup to Disk

2017-05-30 Thread Rugen, Len
Would the cloud tape connector work? 
https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca=an=897=ENUS216-052

Len Rugen

Metrics and Automation – umdoitmetr...@missouri.edu


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jesse 1 Robinson
Sent: Tuesday, May 30, 2017 3:33 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HSM Backup to Disk

The question of how much DASD you need strikes me as a can of worms. I doubt 
that we are unique in being legally required to keep 'some data' for the life 
of the corporation. Even if it's not a substantial percentage of the total, 
it's non-trivial and means that forever you will need to add more and more 
acreage to the DASD farm even if your 'live data' needs remain static--an 
unoptimistic forecast at best. 

I understand the short-term appeal of eliminating an entire peripheral 
component. I also understand the long-term agony of being required by a judge 
to cough up data that you can no longer retrieve. The rosy take is that your 
head will plop in the guillotine basket alongside your CEO's. ;-)

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Tuesday, May 30, 2017 11:14 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: HSM Backup to Disk

Note:  We have found using a VTS (Virtual Tape System) - any hardware vendor - 
works very well.  The device is a little DASD farm on the inside and our 
BACKUPs and MIGRATION datasets are super-fast to retrieve

Expansion on point 2:  You may need more DASD than you did TAPE.  I think with 
TAPE the BACKUP datasets are stacked.  When you write to DASD - I think they 
become individual dataset and may require more room



Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] 
> On Behalf Of Lizette Koehler
> Sent: Tuesday, May 30, 2017 11:11 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: HSM Backup to Disk
> 
> So my thoughts are
> 
>   1) Yes you can do this
>   2) You may need more dasd that tape
>   3) You will be tying up DASD for a long time for backups.
>   4) You will need to determine how long your longest Backup dataset 
> is held for.
> 
> An HSM Backup is used to recover files.  So if this is part of a DR 
> process, then you need to account for that policy as well.
> 
> Also determine how is your HSM BACKUP datasets sent to a DR site (if 
> they are
> sent) and identify that as part of the DASD requirements.
> 
> Lizette
> 
> 
> 
> > -Original Message-
> > From: IBM Mainframe Discussion List 
> > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Robert Heffner
> > Sent: Tuesday, May 30, 2017 10:03 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: HSM Backup to Disk
> >
> > First off, I would like to say I am not an HSM expert, I am 
> > supporting HSM while a coworker is on medical leave.  The company is 
> > looking to eliminate tape from the environment and I would like to 
> > know the best (or perhaps only) way to move HSM automatic backup from tape 
> > to disk.
> > My feeling is we need to obtain the disk space needed well ahead of 
> > the elimination of tape, then set backups to go to disk instead of 
> > tape, and just let the tape backups drop off through attrition.  
> > There are some backups that we keep up to 200 days.  Any other 
> > ideas?  This is
> z/OS 2.2.
> > Thanks -- Bob Heffner


--
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: HSM Backup to Disk

2017-05-30 Thread Jesse 1 Robinson
The question of how much DASD you need strikes me as a can of worms. I doubt 
that we are unique in being legally required to keep 'some data' for the life 
of the corporation. Even if it's not a substantial percentage of the total, 
it's non-trivial and means that forever you will need to add more and more 
acreage to the DASD farm even if your 'live data' needs remain static--an 
unoptimistic forecast at best. 

I understand the short-term appeal of eliminating an entire peripheral 
component. I also understand the long-term agony of being required by a judge 
to cough up data that you can no longer retrieve. The rosy take is that your 
head will plop in the guillotine basket alongside your CEO's. ;-)

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Tuesday, May 30, 2017 11:14 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: HSM Backup to Disk

Note:  We have found using a VTS (Virtual Tape System) - any hardware vendor - 
works very well.  The device is a little DASD farm on the inside and our 
BACKUPs and MIGRATION datasets are super-fast to retrieve

Expansion on point 2:  You may need more DASD than you did TAPE.  I think with 
TAPE the BACKUP datasets are stacked.  When you write to DASD - I think they 
become individual dataset and may require more room



Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] 
> On Behalf Of Lizette Koehler
> Sent: Tuesday, May 30, 2017 11:11 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: HSM Backup to Disk
> 
> So my thoughts are
> 
>   1) Yes you can do this
>   2) You may need more dasd that tape
>   3) You will be tying up DASD for a long time for backups.
>   4) You will need to determine how long your longest Backup dataset 
> is held for.
> 
> An HSM Backup is used to recover files.  So if this is part of a DR 
> process, then you need to account for that policy as well.
> 
> Also determine how is your HSM BACKUP datasets sent to a DR site (if 
> they are
> sent) and identify that as part of the DASD requirements.
> 
> Lizette
> 
> 
> 
> > -Original Message-
> > From: IBM Mainframe Discussion List 
> > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Robert Heffner
> > Sent: Tuesday, May 30, 2017 10:03 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: HSM Backup to Disk
> >
> > First off, I would like to say I am not an HSM expert, I am 
> > supporting HSM while a coworker is on medical leave.  The company is 
> > looking to eliminate tape from the environment and I would like to 
> > know the best (or perhaps only) way to move HSM automatic backup from tape 
> > to disk.
> > My feeling is we need to obtain the disk space needed well ahead of 
> > the elimination of tape, then set backups to go to disk instead of 
> > tape, and just let the tape backups drop off through attrition.  
> > There are some backups that we keep up to 200 days.  Any other 
> > ideas?  This is
> z/OS 2.2.
> > Thanks -- Bob Heffner


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


Re: A slight regression

2017-05-30 Thread Farley, Peter x23353
Scott,

That exchange between John and I (around April 7) was about calling C library 
functions directly from COBOL.  It works if you use a static call (COBOL 
literal for the entry point name in UPPER CASE, NODYNAM COBOL compiler option) 
because the C library function load modules (in CEE.SCEELKED) have an external 
reference to the LE initialization subroutine CEESG003 which will do C language 
startup initialization in the enclave.  A dynamic COBOL CALL to a C library 
function (variable name in the CALL or DYNAM COBOL compiler option) will not 
work unless you manually use an INCLUDE SYSLIB(CEESG003) link edit control card 
for your link step to get the C language initialization performed, and include 
CEE.SCEELKED in the link edit SYSLIB DD.

Your code example below should "just work" in terms of getting the C language 
initialization done because your C subroutine will have an external reference 
to CEESG003, but passing strings and integers is trickier, because the C 
language uses (mostly) "pass by VALUE" instead of the COBOL default of "pass by 
REFERENCE (i.e., pointers)".  You have to carefully use the BY REFERENCE and BY 
VALUE attributes for the COBOL USING variables.  Integers (and probably 
floats/doubles as well) must be BY VALUE.  Any structures or arrays (including 
strings!) or function pointers must be BY REFERENCE.

COBOL does have PICTURE usage type "Z" for zero-terminated strings, so you 
don't have to use the STRING verb to construct constant strings with a 
zero-byte terminator to call C modules.  I haven't experimented with moving 
"normal" COBOL strings (PIC X) to a PIC Z variable, so I do not know if that 
would work properly.

HTH

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of scott Ford
Sent: Tuesday, May 30, 2017 2:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: A slight regression

John,

I didnt realize you could call C library functions directly, very cool  , here 
is what i would like to do:

 FILE SECTION.
   WORKING-STORAGE SECTION.
   77 TESTSTR   PIC X(30) VALUE SPACES.
   77 VAR1  PIC S9(9) BINARY VALUE 5.
   PROCEDURE DIVISION.
   -MAIN.
  * MOVE 1 TO P1.
  * DISPLAY 'P1: ' P1
  * CALL 'CFUNC' USING P1 RETURNING P2
  * DISPLAY 'P1: ' P1
  * DISPLAY 'P2: ' P2
STRING 'TEST STRING' ,
   LOW-VALUE
DELIMITED BY SIZE INTO TESTSTR
DISPLAY 'CALL CENTRY USING: ' TESTSTR
CALL 'CENTRY' USING  TESTSTR.
GOBACK.



#include 
#include 
#include 
void CENTRY(char* mystring)
{
  printf("my string: %s \n",mystring);
}

I am trying to understand how to perform the call and pass a string and or a 
integer ...

Thanks John..

Regards.
Scott

On Tue, May 30, 2017 at 2:19 PM, John McKown 
wrote:

> On Tue, May 30, 2017 at 1:07 PM, scott Ford  wrote:
>
> > All:
> >
> > I saw a thread between Peter Fairley and John  in April, this year
> speaking
> > about a cobol program calling C ..I am in the same board but did not 
> > see the C code. Can some one help me out and point me to the C 
> > routine or function ?
> >
>
> ​Minor example at:
> https://gist.github.com/JohnArchieMckown/5b973d46108bd24e0c6f9233c9617
> 6b0
>
> Calls the C subroutines: cuserid(), strlen(). and sscanf(). I don't 
> have a C compiler, so I don't have an example of any "user written" C code.
>
>
>
> >
> > Thanks and I appreciate it
> >
> > --
> >
> > *IDMWORKS *
> >
> > Scott Ford
> >
> > z/OS Dev.
> >
>
>
> --
> Windows. A funny name for a operating system that doesn't let you see 
> anything.
>
> Maranatha! <><
> John McKown
>
-- 


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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


Re: SDSF in Batch

2017-05-30 Thread Sri h Kolusu
Steely Mark,

Assuming you always have more than 1 job to extract in the DA queue, you 
can use SDSF block commands  (//X - //) and extract the entire log.  You 
can use utility of choice ( I used SORT) to extract out the contents you 
like. Some thing like this

//**
//* DELETE IF OUTPUT DATASET EXISTS*
//**
//STEP0100 EXEC PGM=IEFBR14 
//DD01 DD  DSN=, 
// DISP=(MOD,DELETE),UNIT=SYSDA, 
// SPACE=(TRK,(1,0),RLSE) 
//* 
//**
//* EXTRACT THE ENTIRE JOB OUTPUTS IN DA FOR PREFIX 'CICS' *
//* USING SDSF BLOCK COMMANDS (//X - //)   *
//**
//STEP0200 EXEC PGM=SDSF,PARM='++30,256' 
//ISFOUT   DD SYSOUT=* 
//SYSUDUMP DD SYSOUT=* 
//SYSPRINT DD SYSOUT=* 
//SYSTSPRT DD SYSOUT=* 
//SYSOUT   DD SYSOUT=* 
//DATAOUT  DD DSN=, 
//DISP=(NEW,CATLG,DELETE), 
//SPACE=(CYL,(25,25),RLSE), 
//RECFM=FB,LRECL=133,BLKSIZE=0 
//ISFINDD * 
PRE CICS* 
DA 
PRINT FILE DATAOUT 
FIND 'CICS' 
++//X 
FIND 'CICS' LAST 
++// 
PRINT CLOSE 
END 
/*
//**
//* EXTRACT THE JESMSGLG FOR EACH JOB LOOKING FOR THE TIME *
//**
//STEP0300 EXEC PGM=SORT 
//SYSOUT   DD SYSOUT=* 
//SORTIN   DD DISP=SHR,DSN= 
//SORTOUT  DD SYSOUT=* 
//SYSINDD * 
  OPTION COPY 
  INCLUDE COND=(2,2,ZD,EQ,NUM,AND, 
4,1,CH,EQ,C'.',AND, 
5,2,ZD,EQ,NUM,AND, 
7,1,CH,EQ,C'.',AND, 
8,2,ZD,EQ,NUM) 
/*

P.S : The block command will fail if you just have 1 active job in the DA 
queue.

Thanks,
Kolusu



From:   "Steely.Mark" 
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   05/30/2017 10:17 AM
Subject:SDSF in Batch
Sent by:IBM Mainframe Discussion List 



I know this has been discussed before but I can't find anything that I am 
looking for.

The only thing I found close was SDSFEXT from file 313 on the CBTAPE.

I would like the batch SDSF job to perform PREFIX CICS*.  Then DA.  Then 
from that list print the JESMSGLG from each one listed.

I have been able to do this successfully  for 1 job.

Any help would be appreciated.

Thanks


--
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: A slight regression

2017-05-30 Thread John McKown
On Tue, May 30, 2017 at 1:26 PM, scott Ford  wrote:

> John,
>
> I didnt realize you could call C library functions directly, very cool  ,
> here is what i would like to do:
>
>  FILE SECTION.
>WORKING-STORAGE SECTION.
>77 TESTSTR   PIC X(30) VALUE SPACES.
>77 VAR1  PIC S9(9) BINARY VALUE 5.
>PROCEDURE DIVISION.
>-MAIN.
>   * MOVE 1 TO P1.
>   * DISPLAY 'P1: ' P1
>   * CALL 'CFUNC' USING P1 RETURNING P2
>   * DISPLAY 'P1: ' P1
>   * DISPLAY 'P2: ' P2
> STRING 'TEST STRING' ,
>LOW-VALUE
> DELIMITED BY SIZE INTO TESTSTR
> DISPLAY 'CALL CENTRY USING: ' TESTSTR
> CALL 'CENTRY' USING  TESTSTR.
> GOBACK.
>
> 
>
> #include 
> #include 
> #include 
> void CENTRY(char* mystring)
> {
>   printf("my string: %s \n",mystring);
> }
>
> I am trying to understand how to perform the call and pass a string and or
> a integer ...
>
> Thanks John..
>
> Regards.
> Scott
>
>
>
​You example above should work fine. The standard COBOL parameter list
​USING TESTSTR passes a single parameter which is the pointer to TESTSTR
which, in C speak, is char *.  In general, for me, I think of "what code
does the sending language's compiler generate?" and "what does the
receiving language expect?". Inter-operating with C is set up in the
current COBOL compilers. At least back to 4.2. The reference is:

https://www.ibm.com/support/knowledgecenter/en/SS6SG3_4.2.0/com.ibm.entcobol.doc_4.2/PGandLR/ref/rlpscall.htm

What you need to remember is that C is a "call by value" language. That is,
the C languages expects the _value_ (not a pointer to a value) to be in the
calling list pointed to by GPR1. So when you see a definition like:  *data_name; the C program is expecting a _pointer_. But if you see
something like:  data_name, the C program is expecting the
actual value (however long) to be at the relative position in the calling
sequence. This is _not_ standard OS linkage! If you look at the above, you
will see that the CALL verb has three clauses you can use. The historic one
is "BY REFERENCE", which means "pass a pointer to the actual data are in
storage". This allows the CALL'ed routine to update the area and have that
changed value available to the caller. The one for C will often be "BY
VALUE". This tells the COBOL compiler to copy the current _value_ of the
variable named directly into the calling parameter. This is compatible with
the standard way of passing integers ( e.g. CALL 'CENTRY2' USING BY VALUE
INT-VALUE. 77 INT-VALUE PIC S9(9) COMP. and the prototype: void centry2(int
some-value);). The last is "BY CONTENT" and I don't know why it exists.
Basically, the COBOL compiler reserves an area in dynamic storage, copies
the contents of the named variable into that area, then passes the address
of the dynamic area to the subroutine. This basically makes the original
content in the caller unalterable.

really cut down examples:

77 INT-VALUE PIC S9(9) COMP. *> C language int32_t
77 INT-VALU2 PIC S9(9) COMP.
77 CHAR-VALUE PIC X(40). *> C language char x[40];

CALL 'CENTRY' USING BY REFERENCE CHAR-VALUE,
BY VALUE INT-VALUE,
BY REFERENCE INT2-VALUE
END-CALL

== C prototype for above:

void centry (char *char_value, int int_value, int *int2_value);
//
// note you can change char_value which will affect calling variable
// note you can change int_value which DOES NOT affect calling variable
// note you can change int2_value which DOES affect calling variable

​Note that you could do something like:

CALL 'CENTRY' USING BY VALUE CHAR-VALUE​, INT-VALUE, BY REFERENCE
INT2_VALUE.

with

void centry (char char_value[40], int int_value, int *int2_value);

​But it most likely _won't_ be what you want!!! What the COBOL compiler
will do is create a calling list area. Copy the 40 bytes from CHAR-VALUE
directly into the calling parameter list. Follow that by the 4 bytes value
in INT-VALUE. Followed by a 4 byte address of INT2-VALUE. That is, the GPR1
will point to 48 bytes of data. In addition, changing char_value does NOT
change the value back in the COBOL program. So, in ever case that I've ever
see, I've seen C "string" values (actually array of chars) passed by
​address not value.
​​
​I hope this was of some value. And that I didn't mess up.​



-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

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


Re: Survey: How many APF-authorized libraries?

2017-05-30 Thread scott Ford
maybe 20-30 we are all development

On Tue, May 30, 2017 at 12:06 PM, Jesse 1 Robinson 
wrote:

> We maintain separate lists for DSNs supplied with ServerPac (CPAC.PARMLIB
> on SYSRES) and those from all other sources (off SYSRES).
>
> CPAC: 52
> All others (ISV, home-grown): 230
>
> Total: 282
>
> .
> .
> J.O.Skip Robinson
> Southern California Edison Company
> Electric Dragon Team Paddler
> SHARE MVS Program Co-Manager
> 323-715-0595 Mobile
> 626-543-6132 Office ⇐=== NEW
> robin...@sce.com
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Ronald Kristel
> Sent: Tuesday, May 30, 2017 8:19 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: (External):Re: Survey: How many APF-authorized libraries?
>
> About 100.
>
> Ronald Kristel
> NL
> 
> From: IBM Mainframe Discussion List  on behalf
> of Larre Shiller <0102cb4997b0-dmarc-requ...@listserv.ua.edu>
> Sent: Tuesday, May 30, 2017 2:44:10 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Survey: How many APF-authorized libraries?
>
> ...depends on the SYSPLEX, but our largest production PLEX has 352 at the
> moment.
>
> Larre Shiller
> US Social Security Administration
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 



*IDMWORKS *

Scott Ford

z/OS Dev.




“By elevating a friend or Collegue you elevate yourself, by demeaning a
friend or collegue you demean yourself”



www.idmworks.com

scott.f...@idmworks.com

Blog: www.idmworks.com/blog





*The information contained in this email message and any attachment may be
privileged, confidential, proprietary or otherwise protected from
disclosure. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution, copying or
use of this message and any attachment is strictly prohibited. If you have
received this message in error, please notify us immediately by replying to
the message and permanently delete it from your computer and destroy any
printout thereof.*

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


Re: A slight regression

2017-05-30 Thread scott Ford
John,

I didnt realize you could call C library functions directly, very cool  ,
here is what i would like to do:

 FILE SECTION.
   WORKING-STORAGE SECTION.
   77 TESTSTR   PIC X(30) VALUE SPACES.
   77 VAR1  PIC S9(9) BINARY VALUE 5.
   PROCEDURE DIVISION.
   -MAIN.
  * MOVE 1 TO P1.
  * DISPLAY 'P1: ' P1
  * CALL 'CFUNC' USING P1 RETURNING P2
  * DISPLAY 'P1: ' P1
  * DISPLAY 'P2: ' P2
STRING 'TEST STRING' ,
   LOW-VALUE
DELIMITED BY SIZE INTO TESTSTR
DISPLAY 'CALL CENTRY USING: ' TESTSTR
CALL 'CENTRY' USING  TESTSTR.
GOBACK.



#include 
#include 
#include 
void CENTRY(char* mystring)
{
  printf("my string: %s \n",mystring);
}

I am trying to understand how to perform the call and pass a string and or
a integer ...

Thanks John..

Regards.
Scott

On Tue, May 30, 2017 at 2:19 PM, John McKown 
wrote:

> On Tue, May 30, 2017 at 1:07 PM, scott Ford  wrote:
>
> > All:
> >
> > I saw a thread between Peter Fairley and John  in April, this year
> speaking
> > about a cobol program calling C ..I am in the same board but did not see
> > the C code. Can some one help me out and point me to the C routine or
> > function ?
> >
>
> ​Minor example at:
> https://gist.github.com/JohnArchieMckown/5b973d46108bd24e0c6f9233c96176b0
>
> Calls the C subroutines: cuserid(), strlen(). and sscanf(). I don't have a
> C compiler, so I don't have an example of any "user written" C code.
>
>
>
> >
> > Thanks and I appreciate it
> >
> > --
> >
> > *IDMWORKS *
> >
> > Scott Ford
> >
> > z/OS Dev.
> >
>
>
> --
> Windows. A funny name for a operating system that doesn't let you see
> anything.
>
> Maranatha! <><
> John McKown
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 



*IDMWORKS *

Scott Ford

z/OS Dev.




“By elevating a friend or Collegue you elevate yourself, by demeaning a
friend or collegue you demean yourself”



www.idmworks.com

scott.f...@idmworks.com

Blog: www.idmworks.com/blog





*The information contained in this email message and any attachment may be
privileged, confidential, proprietary or otherwise protected from
disclosure. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution, copying or
use of this message and any attachment is strictly prohibited. If you have
received this message in error, please notify us immediately by replying to
the message and permanently delete it from your computer and destroy any
printout thereof.*

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


Re: A slight regression

2017-05-30 Thread John McKown
On Tue, May 30, 2017 at 1:07 PM, scott Ford  wrote:

> All:
>
> I saw a thread between Peter Fairley and John  in April, this year speaking
> about a cobol program calling C ..I am in the same board but did not see
> the C code. Can some one help me out and point me to the C routine or
> function ?
>

​Minor example at:
https://gist.github.com/JohnArchieMckown/5b973d46108bd24e0c6f9233c96176b0

Calls the C subroutines: cuserid(), strlen(). and sscanf(). I don't have a
C compiler, so I don't have an example of any "user written" C code.



>
> Thanks and I appreciate it
>
> --
>
> *IDMWORKS *
>
> Scott Ford
>
> z/OS Dev.
>


-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

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


Re: HSM Backup to Disk

2017-05-30 Thread Lizette Koehler
Note:  We have found using a VTS (Virtual Tape System) - any hardware vendor - 
works very well.  The device is a little DASD farm on the inside and our 
BACKUPs and MIGRATION datasets are super-fast to retrieve

Expansion on point 2:  You may need more DASD than you did TAPE.  I think with 
TAPE the BACKUP datasets are stacked.  When you write to DASD - I think they 
become individual dataset and may require more room



Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Lizette Koehler
> Sent: Tuesday, May 30, 2017 11:11 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: HSM Backup to Disk
> 
> So my thoughts are
> 
>   1) Yes you can do this
>   2) You may need more dasd that tape
>   3) You will be tying up DASD for a long time for backups.
>   4) You will need to determine how long your longest Backup dataset is held
> for.
> 
> An HSM Backup is used to recover files.  So if this is part of a DR process,
> then you need to account for that policy as well.
> 
> Also determine how is your HSM BACKUP datasets sent to a DR site (if they are
> sent) and identify that as part of the DASD requirements.
> 
> Lizette
> 
> 
> 
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of Robert Heffner
> > Sent: Tuesday, May 30, 2017 10:03 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: HSM Backup to Disk
> >
> > First off, I would like to say I am not an HSM expert, I am supporting
> > HSM while a coworker is on medical leave.  The company is looking to
> > eliminate tape from the environment and I would like to know the best
> > (or perhaps only) way to move HSM automatic backup from tape to disk.
> > My feeling is we need to obtain the disk space needed well ahead of
> > the elimination of tape, then set backups to go to disk instead of
> > tape, and just let the tape backups drop off through attrition.  There
> > are some backups that we keep up to 200 days.  Any other ideas?  This is
> z/OS 2.2.
> > Thanks -- Bob Heffner
> >
> > --
> > 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: HSM Backup to Disk

2017-05-30 Thread Lizette Koehler
So my thoughts are 

  1) Yes you can do this
  2) You may need more dasd that tape
  3) You will be tying up DASD for a long time for backups.  
  4) You will need to determine how long your longest Backup dataset is held 
for.

An HSM Backup is used to recover files.  So if this is part of a DR process, 
then you need to account for that policy as well.

Also determine how is your HSM BACKUP datasets sent to a DR site (if they are 
sent) and identify that as part of the DASD requirements.

Lizette



> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Robert Heffner
> Sent: Tuesday, May 30, 2017 10:03 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: HSM Backup to Disk
> 
> First off, I would like to say I am not an HSM expert, I am supporting HSM
> while a coworker is on medical leave.  The company is looking to eliminate
> tape from the environment and I would like to know the best (or perhaps only)
> way to move HSM automatic backup from tape to disk.  My feeling is we need to
> obtain the disk space needed well ahead of the elimination of tape, then set
> backups to go to disk instead of tape, and just let the tape backups drop off
> through attrition.  There are some backups that we keep up to 200 days.  Any
> other ideas?  This is z/OS 2.2.
> Thanks -- Bob Heffner
> 
> --
> 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: SDSF in Batch

2017-05-30 Thread Lizette Koehler
Check out ISFREXX, it is the REXX interface that you can use in Foreground and
Background

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.isfa50
0/rexx.htm


Also you can check out JES2DISK (It is googleable) for an example of how to do
this. (Way to go John McKown)



Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Steely.Mark
> Sent: Tuesday, May 30, 2017 10:17 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SDSF in Batch
> 
> I know this has been discussed before but I can't find anything that I am
> looking for.
> 
> The only thing I found close was SDSFEXT from file 313 on the CBTAPE.
> 
> I would like the batch SDSF job to perform PREFIX CICS*.  Then DA.  Then from
> that list print the JESMSGLG from each one listed.
> 
> I have been able to do this successfully  for 1 job.
> 
> Any help would be appreciated.
> 
> Thanks

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


A slight regression

2017-05-30 Thread scott Ford
All:

I saw a thread between Peter Fairley and John  in April, this year speaking
about a cobol program calling C ..I am in the same board but did not see
the C code. Can some one help me out and point me to the C routine or
function ?

Thanks and I appreciate it

-- 



*IDMWORKS *

Scott Ford

z/OS Dev.




“By elevating a friend or Collegue you elevate yourself, by demeaning a
friend or collegue you demean yourself”



www.idmworks.com

scott.f...@idmworks.com

Blog: www.idmworks.com/blog





*The information contained in this email message and any attachment may be
privileged, confidential, proprietary or otherwise protected from
disclosure. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution, copying or
use of this message and any attachment is strictly prohibited. If you have
received this message in error, please notify us immediately by replying to
the message and permanently delete it from your computer and destroy any
printout thereof.*

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread John McKown
On Tue, May 30, 2017 at 12:54 PM, Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Tue, 30 May 2017 11:46:51 -0500, Edward Gould wrote:
> >
> >I also don’t trust PC’s for various reasons.
> >
> How recently have you used one?  How long could you operate
> without using one?  What's in the HMC?
>

​Even worse: The SE is a PC. Well, actually it is _two_ Intel based laptops
(active & backup). I don't recall what OS they are running.​ The SE is a
_critical_ resource since it holds all the MCLs and "firmware" which is
loaded at power up time. I have _no_ idea why IBM does this, other than
cost. I image that built-in 3270 et al. that was built in to the old 3090s
was an expense they wanted to live without.



>
> -- gil
>
>
-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

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


Re: Need Help IPL'ing Linux on Z Install

2017-05-30 Thread Jim Stefanik
I tried that, and it IPL'd, but then kernel panic'd saying it couldn't find its 
root FS; which puzzled me; but it seems that without manually telling it the 
WWPN & LUN, it doesn't appear to know how to do that on its own.

Not a big deal, since I'll probably IPL quite rarely...the more uptime I can 
get the better.

As for SLES 11, it doesn't work.  I don't know what dark wizardry Connor used 
to get it running (he doesn't know either!); but when I tried it, my CP 
instantly went to a disabled wait state.  Debian did the same thing.

SLES's docs say z8x0 & z9x0 support were removed in SP1 from what I remember 
reading.

and thanks on the congrats!  It was challenging, but not as bad as some 
machines I've done!

-Jim

From: IBM Mainframe Discussion List  on behalf of 
Mark Post 
Sent: Tuesday, May 30, 2017 12:59
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Need Help IPL'ing Linux on Z Install

>>> On 5/30/2017 at 12:32 PM, Jim Stefanik  wrote:
> As promised, and update for anyone interested.  I did manage to get it
> working; just a bit differently than I expected.
>
> I had to go through the install a second time, but at the 3rd to last step,
> where it asked if I want to install a new system, upgrade a system, or other;
> I selected other, and then chose boot an existing system.  It asked me to
> load a few kernel modules for filesystem support (I accepted whatever ones it
> asked for), and off it went.

If you are using the kernel and initrd that came with the installation media, 
that's correct.  If you take the installed kernel and initrd from /boot and use 
that instead, you won't have that problem.

> So I know how my own fully working z800 :)

Congratulations. ;)


Mark Post

--
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: HSM Backup to Disk

2017-05-30 Thread Allan Staller
Sounds about right. There is an HSM parameter the can direct backup output to 
disk instead of tape. Could'nt find it in a quick perusal.
You and also accelerate the elimination of tape with the recycleoutput 
parameter and run recycles until all tapes are released.



HTH and good luck,


 


::DISCLAIMER::


The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.




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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Paul Gilmartin
On Tue, 30 May 2017 11:46:51 -0500, Edward Gould wrote:
>
>I also don’t trust PC’s for various reasons.
> 
How recently have you used one?  How long could you operate
without using one?  What's in the HMC?

-- gil

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


Re: SDSF in Batch

2017-05-30 Thread Ira Nelson
Did you look into SDSF/REXX ? 

Sent from Mail for Windows 10

From: Steely.Mark
Sent: Tuesday, May 30, 2017 1:17 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SDSF in Batch

I know this has been discussed before but I can't find anything that I am 
looking for.

The only thing I found close was SDSFEXT from file 313 on the CBTAPE.

I would like the batch SDSF job to perform PREFIX CICS*.  Then DA.  Then from 
that list print the JESMSGLG from each one listed.

I have been able to do this successfully  for 1 job.

Any help would be appreciated.

Thanks


--
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


SDSF in Batch

2017-05-30 Thread Steely.Mark
I know this has been discussed before but I can't find anything that I am 
looking for.

The only thing I found close was SDSFEXT from file 313 on the CBTAPE.

I would like the batch SDSF job to perform PREFIX CICS*.  Then DA.  Then from 
that list print the JESMSGLG from each one listed.

I have been able to do this successfully  for 1 job.

Any help would be appreciated.

Thanks


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


Re: Looks like lots of folks in marketing said thanks but no thanks

2017-05-30 Thread Dana Mitchell
In my time working from home for 6 years, I experienced both ends of the 
spectrum and can see both sides of the discussion.   One situation was that 
everyone was geographically dispersed, we collaborated via email, sometime,  
conference call etc,  whatever fit the subject and the size of the group.  
Since everyone was in the same situation, it seemed to work ok.A differnt 
situation was where I was the odd person remote, and everyone else was 
centrally located.  I was just one voice on a speakerphone in a meeting room 
filled with people,  and that didn't work out so well.  There was also a lot of 
face to face exchange due to the nature of the environment (sort of a lab 
setting).  Luckily I had a couple of good co-workers that kept me informed and 
pointed me to the correct people for information.

Dana


On Thu, 25 May 2017 18:23:56 -0400, Gord Tomlin 
 wrote:

>On 2017-05-25 17:32, Jesse 1 Robinson wrote:
>> there is no tool yet invented to completely supplant regular*informal*  
>> office interaction. As Tom Brennan said, working across from someone invites 
>> casual*unplanned*  communication that can be vital.
>
>I think what you say is true in an organization where the norm is being
>in an office together, and the odd person works remotely.
>
>When it becomes the norm for people to work remotely, the informal and
>unplanned communication tends to migrate to whatever communication
>medium a team chooses to use.

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


HSM Backup to Disk

2017-05-30 Thread Robert Heffner
First off, I would like to say I am not an HSM expert, I am supporting HSM 
while a coworker is on medical leave.  The company is looking to eliminate tape 
from the environment and I would like to know the best (or perhaps only) way to 
move HSM automatic backup from tape to disk.  My feeling is we need to obtain 
the disk space needed well ahead of the elimination of tape, then set backups 
to go to disk instead of tape, and just let the tape backups drop off through 
attrition.  There are some backups that we keep up to 200 days.  Any other 
ideas?  This is z/OS 2.2.
Thanks -- Bob Heffner

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


Re: Need Help IPL'ing Linux on Z Install

2017-05-30 Thread Mark Post
>>> On 5/30/2017 at 12:32 PM, Jim Stefanik  wrote: 
> As promised, and update for anyone interested.  I did manage to get it 
> working; just a bit differently than I expected.
> 
> I had to go through the install a second time, but at the 3rd to last step, 
> where it asked if I want to install a new system, upgrade a system, or other; 
> I selected other, and then chose boot an existing system.  It asked me to 
> load a few kernel modules for filesystem support (I accepted whatever ones it 
> asked for), and off it went.

If you are using the kernel and initrd that came with the installation media, 
that's correct.  If you take the installed kernel and initrd from /boot and use 
that instead, you won't have that problem.

> So I know how my own fully working z800 :)

Congratulations. ;)


Mark Post

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


Re: Need Help IPL'ing Linux on Z Install

2017-05-30 Thread Mark Post
>>> On 5/25/2017 at 05:04 PM, Jim Stefanik  wrote: 
> Oh wow - ok - I feel dumb now.  Reading Mark's post over a couple of times, I 
> now understand.  Those addresses are locations in RAM where the files get 
> stuffed and tell the CPC where to execute from.

No need to feel dumb.  For quite a while I wasn't sure what those numbers were 
either.  Bear in mind that as kernels get larger, and initrds get larger, those 
numbers may need to be massaged.  In turn, that means the initrd.off and 
initrd.siz files will need to be regenerated.

You should be able to run SLES11 on your machine.  The release notes say that 
only z9 or later is supported, but that was a support limitation, not a 
technical limitation.  The binaries were generated with an architecture level 
of z800/z900.


Mark Post

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Edward Gould
> On May 30, 2017, at 10:30 AM, Paul Gilmartin 
> <000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
> 
> On Tue, 30 May 2017 08:43:15 -0500, Edward Gould wrote:
>> —SNIP—
>> 
>> That is why I submit that HC manuals are still needed will always be needed.
>> When your system is down its down and having manuals on there MF is useless.
>> 
> But a desktop system, outside the radius of destruction, with UPS?
> 
> And I'd expect the manuals on the MF to be replicated at the DR site.
> 
> -- gil


Absolutely. I have seen power outages that are “spotty” i.e. one floor has one 
floor does not.

I also don’t trust PC’s for various reasons.

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


Re: Need Help IPL'ing Linux on Z Install

2017-05-30 Thread Jim Stefanik
As promised, and update for anyone interested.  I did manage to get it working; 
just a bit differently than I expected.

I had to go through the install a second time, but at the 3rd to last step, 
where it asked if I want to install a new system, upgrade a system, or other; I 
selected other, and then chose boot an existing system.  It asked me to load a 
few kernel modules for filesystem support (I accepted whatever ones it asked 
for), and off it went.

So I know how my own fully working z800 :)

From: IBM Mainframe Discussion List  on behalf of Jim 
Stefanik 
Sent: Thursday, May 25, 2017 17:04
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Need Help IPL'ing Linux on Z Install

Oh wow - ok - I feel dumb now.  Reading Mark's post over a couple of times, I 
now understand.  Those addresses are locations in RAM where the files get 
stuffed and tell the CPC where to execute from.

I will give this a go over the holiday weekend.  I'll post back to let everyone 
know how it goes!

Thanks for the help

From: IBM Mainframe Discussion List  on behalf of Jim 
Stefanik 
Sent: Thursday, May 25, 2017 15:02
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Need Help IPL'ing Linux on Z Install

AH HA!  I swore I saw that post in the archives a while ago, but couldn't find 
it again when I needed it.

Does anyone know what the addresses in the ins file signify?  Is this a load 
point of some sort?  Are they needed? Do they match between the install DVD and 
an installed OS?

Perhaps Mark will see this and chime in? :)

Thanks!

From: IBM Mainframe Discussion List  on behalf of 
Tony Harminc 
Sent: Thursday, May 25, 2017 14:38
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Need Help IPL'ing Linux on Z Install

On 25 May 2017 at 00:43, Tom Brennan  wrote:

> A bit of a crazy idea, but I've had crazier ones that were implemented:
> What if you wrote your own small program, IPLable from DVD or USB (or
> whatever is available on the z800), and that program would know (or get)
> the subchannel id of your SCSI boot disk, run CCW's to load the SUSE boot
> records into low memory, load the PSW, and off you go as if you booted from
> SCSI.


This was discussed back in December 2015 under the thread "IBM z890
Update". This was also Connor's problem, and yours was also my suggested
solution. But it appears there is another solution explained by Mark Post
back then. He said:

And this is the point I was going to make.  The install process starts with
the "Load from Removable Media or Server."  That media can be a DVD in the
HMC, or an FTP server somewhere on the network.  The HMC looks for files
that end with "*.ins" and displays the list of them on the HMC.  Each of
those files contains a list of _other_ files that are to be loaded into
storage, at specified locations, and then executed.  The suse.ins file
looks like this:
boot/s390x/linux 0x
boot/s390x/initrd.off 0x0001040c
boot/s390x/initrd.siz 0x00010414
boot/s390x/initrd 0x0100
boot/s390x/parmfile 0x00010480

What I would recommend is that Connor keep his FTP server updated with
whatever kernels, ramdisks, and parmfiles he has installed on his storage
array, and use the HMC to boot from them.  (These would need to be
extracted from disk to the FTP server after every update to the kernel or
parameters.)  In the parmfile, you can point to where the root file system
lives, and the initrd would have the code necessary to activate the SCSI
over FCP connection to mount it.

It's a bit of a PITA, but should work just fine until such time as he
either gets the SCSI IPL feature from IBM installed, or he finds some ECKD
storage at a reasonable price.


Tony H.

--
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: Survey: How many APF-authorized libraries?

2017-05-30 Thread Jesse 1 Robinson
We maintain separate lists for DSNs supplied with ServerPac (CPAC.PARMLIB on 
SYSRES) and those from all other sources (off SYSRES). 

CPAC: 52
All others (ISV, home-grown): 230

Total: 282

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ronald Kristel
Sent: Tuesday, May 30, 2017 8:19 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: Survey: How many APF-authorized libraries?

About 100.

Ronald Kristel
NL

From: IBM Mainframe Discussion List  on behalf of 
Larre Shiller <0102cb4997b0-dmarc-requ...@listserv.ua.edu>
Sent: Tuesday, May 30, 2017 2:44:10 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Survey: How many APF-authorized libraries?

...depends on the SYSPLEX, but our largest production PLEX has 352 at the 
moment.

Larre Shiller
US Social Security Administration


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


Re: Looks like lots of folks in marketing said thanks but no thanks

2017-05-30 Thread David L. Craig
On 17May30:1027-0500, Paul Gilmartin wrote:
> > 
> Interesting pre-pre-pre-Friday topic.  I take SR's prohibition of
> superluminal communication as absolute.  But can a choir be
> synchronized without transmitting information from one member
> to another?  This seems to reflect the assumption for quantum
> computing.
> 
> 
> https://en.wikipedia.org/wiki/EPR_paradox#Measurements_on_an_entangled_state

Paul, they're working on it:
https://phys.org/news/2012-09-km-physicists-quantum-teleportation-distance.html
https://www.sciencealert.com/a-new-quantum-teleportation-distance-record-has-been-set

Who knows how far the TS crowd has gotten with this research?
Naturally there are lots of rumors of deployments of such
wireless routers about.

So this is not Friday discussion.
-- 

May the LORD God bless you exceedingly abundantly!

Dave_Craig__
"So the universe is not quite as you thought it was.
 You'd better rearrange your beliefs, then.
 Because you certainly can't rearrange the universe."
__--from_Nightfall_by_Asimov/Silverberg_

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Paul Gilmartin
On Tue, 30 May 2017 08:43:15 -0500, Edward Gould wrote:
>—SNIP—
>
>That is why I submit that HC manuals are still needed will always be needed.
>When your system is down its down and having manuals on there MF is useless.
> 
But a desktop system, outside the radius of destruction, with UPS?

And I'd expect the manuals on the MF to be replicated at the DR site.

-- gil

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


Re: Looks like lots of folks in marketing said thanks but no thanks

2017-05-30 Thread Paul Gilmartin
On Tue, 30 May 2017 15:08:28 +, David L. Craig wrote:

>On 17May29:2346-0400, Gabe Goldberg wrote:
>
>> It's amazing what technology can do:
>> http://ericwhitacre.com/the-virtual-choir
>>
>> https://www.ted.com/talks/eric_whitacre_a_virtual_choir_2_000_voices_strong
>>
>> ...not symphony, but still remote collaboration.
>>
>> Timothy Sipples quoted
>>
>> > A symphony can hardly be performed with everyone working remotely
>
>The collaboration is not in real time.  It's like getting
>a thousand postcards and taping them together into a collage.
>Realtime remote jamming infrastructure is still battling
>with the speed of light, but in a few decades modulation of
>entangled atoms separated by hundreds of kilometers will
>probably trickle down into the high-level musician's home
>studio infrastructure.
> 
Interesting pre-pre-pre-Friday topic.  I take SR's prohibition of
superluminal communication as absolute.  But can a choir be
synchronized without transmitting information from one member
to another?  This seems to reflect the assumption for quantum
computing.

https://en.wikipedia.org/wiki/EPR_paradox#Measurements_on_an_entangled_state

-- gil

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


Re: Survey: How many APF-authorized libraries?

2017-05-30 Thread Ronald Kristel
About 100.

Ronald Kristel
NL

From: IBM Mainframe Discussion List  on behalf of 
Larre Shiller <0102cb4997b0-dmarc-requ...@listserv.ua.edu>
Sent: Tuesday, May 30, 2017 2:44:10 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Survey: How many APF-authorized libraries?

...depends on the SYSPLEX, but our largest production PLEX has 352 at the 
moment.

Larre Shiller
US Social Security Administration

“The opinions expressed in this e-mail are mine personally and do not 
necessarily reflect the opinion of the US Social Security Administration and/or 
the US Government.”

--
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: Looks like lots of folks in marketing said thanks but no thanks

2017-05-30 Thread David L. Craig
On 17May29:2346-0400, Gabe Goldberg wrote:

> It's amazing what technology can do:
> http://ericwhitacre.com/the-virtual-choir
> 
> https://www.ted.com/talks/eric_whitacre_a_virtual_choir_2_000_voices_strong
> 
> ...not symphony, but still remote collaboration.
> 
> Timothy Sipples  quoted
> 
> Steve Smith who wrote:
> 
> > A symphony can hardly be performed with everyone working remotely

The collaboration is not in real time.  It's like getting
a thousand postcards and taping them together into a collage.
Realtime remote jamming infrastructure is still battling
with the speed of light, but in a few decades modulation of
entangled atoms separated by hundreds of kilometers will
probably trickle down into the high-level musician's home
studio infrastructure.
-- 

May the LORD God bless you exceedingly abundantly!

Dave_Craig__
"So the universe is not quite as you thought it was.
 You'd better rearrange your beliefs, then.
 Because you certainly can't rearrange the universe."
__--from_Nightfall_by_Asimov/Silverberg_

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


Re: DFSORT with empty outputs

2017-05-30 Thread Sri h Kolusu
>>Is there a DFSORT or ICETOOL statement where the output contains headers 
plus a line saying 'No selected records found' if nothing selected is 
found?

Elardus,

It can be done , however I need a few more details.

1. How are you selecting the data? (using INCLUDE/OMIT COND or OUTFIL 
INCLUDE/OMIT ?)
2. What is the LRECL and RECFM of the dataset?
3. Does the header already exist in the input file and is it the first 2 
records in the file? or can this be generated?

Thanks,
Kolusu
DFSORT Development
IBM Corporation



From:   Elardus Engelbrecht 
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   05/30/2017 07:14 AM
Subject:DFSORT with empty outputs
Sent by:IBM Mainframe Discussion List 



Good day to all DFSORT gurus

Is there a DFSORT or ICETOOL statement where the output contains headers 
plus a line saying 'No selected records found' if nothing selected is 
found?

Something like this:

User id   User Name Dflt Group  Created Last Used 
    --  --  --
ABC001ABC USER  ABCDEF  2000-09-29  2017-05-29

But when nothing is found I would like to say this:

User id   User Name Dflt Group  Created Last Used 
    --  --  --
No ids found.


This is similar to zSecure where you can say:

newlist rds name=GRP, header=no, dd=grp,
  title='Users in group ABCDEF',empty='No users found in group ABCDEF', 
... 

For zSecure, you either get a list of results or a statement that report 
has no selected results.

Is there something for DFSORT/ICETOOL?

Many thanks in advance for  your kind help!

Groete / Greetings
Elardus Engelbrecht

--
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: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread John McKown
On Tue, May 30, 2017 at 8:43 AM, Edward Gould 
wrote:

> > ——SNIP--
> -
> > Again, to repeat, I think all vendors, including IBM, ought to improve
> what
> > they can. That's a necessary condition, but it's not sufficient and never
> > can be. You MUST have a "Plan B" that does not rely on your ability to
> > reach your vendor(s) continuously if you have mission critical needs and
> > take them seriously. In the case of Knowledge Center, IBM is equipping
> you
> > with an excellent "Plan B" option called the IBM Knowledge Center for
> z/OS,
> > included at no additional charge with your base z/OS license. You may or
> > may not have other contingencies, but that's an excellent one and is
> > available at no additional charge.
> >
> —SNIP—
>
> That is why I submit that HC manuals are still needed will always be
> needed.
> When your system is down its down and having manuals on there MF is
> useless.
>

​An ex-coworker was also an HC fan. But mainly so that he could put notes
in the books. He would periodically download then print a number of PDF
formatted manuals.​

My manager has a similar opinion of the reliability of the Internet.
Basically, all he thinks it is good for are news, comics, and some videos.
All of which are not time-critical. His opinion of people who use cloud
storage and things like AWS or Azure is basically that they are fools who
are betting the existence of the company on another set of companies all
working correctly (cloud company & the companies supporting Internet
connectivity). That's why a decent data center has an independent source of
electricity (UPS & a fueled up generator). Of course, since most generators
don't supply power to the entire building, keeping the machines up with no
users having connectivity is a bit "iffy". Except that it allows z/OS batch
to run. We have a few 3270 type terminals which are on a Visara controller
which is Escon connected to the z.


>
> Ed
>

-- 
Windows. A funny name for a operating system that doesn't let you see
anything.

Maranatha! <><
John McKown

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


Re: Survey: How many APF-authorized libraries?

2017-05-30 Thread Larre Shiller
...depends on the SYSPLEX, but our largest production PLEX has 352 at the 
moment.

Larre Shiller
US Social Security Administration
 
“The opinions expressed in this e-mail are mine personally and do not 
necessarily reflect the opinion of the US Social Security Administration and/or 
the US Government.”

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


Re: Question about C++

2017-05-30 Thread scott Ford
Guys I am trying to learn C++ . I began on C and Ruby and a little of the
snake -- python..

This is GREAT ...

Scott

On Tue, May 30, 2017 at 10:29 AM, Rugen, Len  wrote:

> I think I still suffer OOD (Object Oriented Disorder) :-)   However, a few
> weeks ago I managed to write a Python program to report on a data structure
> accessed by an OO api that was a fit to using recursion.
>
> Then I had to try to explain the magic of the html indention...
>
> Len Rugen
>
> Metrics and Automation – umdoitmetr...@missouri.edu
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Charles Mills
> Sent: Tuesday, May 30, 2017 8:53 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Question about C++
>
> You're trying to scare the poor man!
>
> After I learned OO, I realized the problem in trying to communicate the
> concepts.
>
> - The easy-to-grasp explanations are stupid: Animal is a class. Dog and
> Cat are child classes of Animal. Fido is an instance of Dog. You could have
> an inherited public overridden method Speak() and say myAnimal.Speak() and
> if it were a Dog it would bark and if it were a Cat it would Meow ...
>
> - The real problems that are solved by the significant features are too
> hard to explain in a simple tutorial. I solved a problem the other day with
> a very sparsely-implemented virtual polymorphic method -- but it would take
> me an hour to explain what the problem was.
>
> Charles
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of David Crayford
> Sent: Tuesday, May 30, 2017 5:23 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Question about C++
>
> This might bewilder you some more ...
>
> --
> 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
>



-- 



*IDMWORKS *

Scott Ford

z/OS Dev.




“By elevating a friend or Collegue you elevate yourself, by demeaning a
friend or collegue you demean yourself”



www.idmworks.com

scott.f...@idmworks.com

Blog: www.idmworks.com/blog





*The information contained in this email message and any attachment may be
privileged, confidential, proprietary or otherwise protected from
disclosure. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution, copying or
use of this message and any attachment is strictly prohibited. If you have
received this message in error, please notify us immediately by replying to
the message and permanently delete it from your computer and destroy any
printout thereof.*

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


Re: Question about C++

2017-05-30 Thread Rugen, Len
I think I still suffer OOD (Object Oriented Disorder) :-)   However, a few 
weeks ago I managed to write a Python program to report on a data structure 
accessed by an OO api that was a fit to using recursion.  

Then I had to try to explain the magic of the html indention...  

Len Rugen

Metrics and Automation – umdoitmetr...@missouri.edu


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Charles Mills
Sent: Tuesday, May 30, 2017 8:53 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++

You're trying to scare the poor man!

After I learned OO, I realized the problem in trying to communicate the 
concepts.

- The easy-to-grasp explanations are stupid: Animal is a class. Dog and Cat are 
child classes of Animal. Fido is an instance of Dog. You could have an 
inherited public overridden method Speak() and say myAnimal.Speak() and if it 
were a Dog it would bark and if it were a Cat it would Meow ...

- The real problems that are solved by the significant features are too hard to 
explain in a simple tutorial. I solved a problem the other day with a very 
sparsely-implemented virtual polymorphic method -- but it would take me an hour 
to explain what the problem was.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of David Crayford
Sent: Tuesday, May 30, 2017 5:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++

This might bewilder you some more ...

--
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: Looks like lots of folks in marketing said thanks but no thanks

2017-05-30 Thread Lucas Rosalen
Having worked both at home and at the office, my opinions are:

1. Meetings at the coffee point (and other places) is very big opportunity
to exchange ideas, thoughts, opinions.
- This is true, as long as you have a motivated/enthusiastic tech team.
Otherwise, they will talk about ANYTHING other than work (not that it
wouldn't add any value though - being brazilian, I tend to value a lot
people's inter-relationships).

2. It is much easier to see and control how the emploee spends a time - is
he really busy as declared? No timesheet replace it.
- I've never been a manager, so I don't really know, but I have worked with
managers that didn't care about seeing employees (not even close to top
contributors) on facebook/youtube in the office during regular work hours.
And I also have worked with people that are observably WAY more productive
working from home than at the office. That's, in fact, my case, although I
recognize the value of being at the office.
I agree that if you need watch an employee that closely, you simply hired
the wrong person.

3. Some people do work more effectively when they have no external
"disturbants" (a dog, neighbour, postman, favourite comedy on TV...)
- I found it more distubing to be at the office (too loud, too many people
walking around, too "available" for management queries, etc ), than at
home. It's a matter of letting people at home (and yourself, of course)
know that you're just physically there, but you're simply OFF for
everything.


---
*Lucas Rosalen*
Emails: rosalen.lu...@gmail.com / *lrosa...@pl.ibm.com
*
LinkedIn: http://br.linkedin.com/in/lrosalen
Phone: +48 (71) 792 809 198


2017-05-30 0:46 GMT-03:00 Gabe Goldberg :

> It's amazing what technology can do: http://ericwhitacre.com/the-vi
> rtual-choir
>
> https://www.ted.com/talks/eric_whitacre_a_virtual_choir_2_
> 000_voices_strong
>
> ...not symphony, but still remote collaboration.
>
> Timothy Sipples  quoted
>
> Steve Smith who wrote:
>
> > A symphony can hardly be performed with everyone working remotely
>
> --
> Gabriel Goldberg, Computers and Publishing, Inc.   g...@gabegold.com
> 3401 Silver Maple Place, Falls Church, VA 22042   (703) 204-0433
> LinkedIn: http://www.linkedin.com/in/gabegoldTwitter: GabeG0
>
>
> --
> 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


DFSORT with empty outputs

2017-05-30 Thread Elardus Engelbrecht
Good day to all DFSORT gurus

Is there a DFSORT or ICETOOL statement where the output contains headers plus a 
line saying 'No selected records found' if nothing selected is found?

Something like this:

User id   User Name Dflt Group  Created Last Used 
    --  --  --
ABC001ABC USER  ABCDEF  2000-09-29  2017-05-29

But when nothing is found I would like to say this:

User id   User Name Dflt Group  Created Last Used 
    --  --  --
No ids found.


This is similar to zSecure where you can say:

newlist rds name=GRP, header=no, dd=grp,
  title='Users in group ABCDEF',empty='No users found in group ABCDEF', ... 

For zSecure, you either get a list of results or a statement that report has no 
selected results.

Is there something for DFSORT/ICETOOL?

Many thanks in advance for  your kind help!

Groete / Greetings
Elardus Engelbrecht

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


Re: Survey: How many APF-authorized libraries?

2017-05-30 Thread van der Grijn, Bart (B)
134. 
54 of them are what I would call infrastructure.
The rest is driven by the number of DB2 subsystems (2 APF libraries per DB2 
group). 
Bart

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Charles Mills
Sent: Monday, May 29, 2017 9:14 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Survey: How many APF-authorized libraries?

How many APF-authorized load libraries do you have on your production LPARs?

Approximate answers accepted. No need to put too fine a point on it.

1000? 10,000? 100,000?

And no, unfortunately, I don't know a D PROG,APF syntax that will get you
just a count and not a flood. ENTRY=(-) will do it iteratively, but
I'm not asking you to do that much work.

Charles 

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


Re: Survey: How many APF-authorized libraries?

2017-05-30 Thread Pommier, Rex
Small shop, 125.

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Charles Mills
Sent: Monday, May 29, 2017 8:14 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Survey: How many APF-authorized libraries?

How many APF-authorized load libraries do you have on your production LPARs?

Approximate answers accepted. No need to put too fine a point on it.

1000? 10,000? 100,000?

And no, unfortunately, I don't know a D PROG,APF syntax that will get you just 
a count and not a flood. ENTRY=(-) will do it iteratively, but I'm not 
asking you to do that much work.

Charles 

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


The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you.

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Edward Gould
> ——SNIP---
> Again, to repeat, I think all vendors, including IBM, ought to improve what
> they can. That's a necessary condition, but it's not sufficient and never
> can be. You MUST have a "Plan B" that does not rely on your ability to
> reach your vendor(s) continuously if you have mission critical needs and
> take them seriously. In the case of Knowledge Center, IBM is equipping you
> with an excellent "Plan B" option called the IBM Knowledge Center for z/OS,
> included at no additional charge with your base z/OS license. You may or
> may not have other contingencies, but that's an excellent one and is
> available at no additional charge.
> 
—SNIP—

That is why I submit that HC manuals are still needed will always be needed.
When your system is down its down and having manuals on there MF is useless.

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


Re: Question about C++

2017-05-30 Thread Charles Mills
You're trying to scare the poor man!

After I learned OO, I realized the problem in trying to communicate the 
concepts.

- The easy-to-grasp explanations are stupid: Animal is a class. Dog and Cat are 
child classes of Animal. Fido is an instance of Dog. You could have an 
inherited public overridden method Speak() and say myAnimal.Speak() and if it 
were a Dog it would bark and if it were a Cat it would Meow ...

- The real problems that are solved by the significant features are too hard to 
explain in a simple tutorial. I solved a problem the other day with a very 
sparsely-implemented virtual polymorphic method -- but it would take me an hour 
to explain what the problem was.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of David Crayford
Sent: Tuesday, May 30, 2017 5:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++

This might bewilder you some more ...

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


Re: DFOSRT and headers

2017-05-30 Thread R.S.

Sri,
That's exactly what I needed.
Thank you!

Regards
--
Radoslaw Skorupka
Lodz, Poland







W dniu 2017-05-19 o 23:12, Sri h Kolusu pisze:

Radoslaw,

You can use the DATASORT operator to just sort the data and ignore the
headers/trailers. Here is a sample JCL. I assumed that the lastname starts
at position 15 for a length of 13.

//STEP0100 EXEC PGM=ICETOOL
//TOOLMSG  DD SYSOUT=*
//DFSMSG   DD SYSOUT=*
//IN   DD *
FIRSTNAME LASTNAMEYEAROTHERDATA
---   -
JOHN  SMITH   1945E
JOE   ZAWINUL 1932R
GEORGEALTMARK 1954F
//OUT   DD SYSOUT=*
//TOOLINDD *
   DATASORT FROM(IN) TO(OUT) HEADER(2) USING(CTL1)
//CTL1CNTL  DD *
   SORT FIELDS=(15,13,CH,A)
//*

Further if you have any questions please let me know

Thanks,
Kolusu
DFSORT Development
IBM Corporation
IBM Mainframe Discussion List  wrote on
05/19/2017 01:54:12 PM:


From: "R.S." 
To: IBM-MAIN@LISTSERV.UA.EDU
Date: 05/19/2017 01:54 PM
Subject: DFOSRT and headers
Sent by: IBM Mainframe Discussion List 

How to exclude header lines from being sorter/filtered?

For example, I have the following file:

FIRSTNAME LASTNAMEYEAROTHERDATA
---   -
JOHN  SMITH   1945e
JOE   ZAWINUL 1932r
GEORGEALTMARK 1954f



I want to sort by lastname:
FIRSTNAME LASTNAMEYEAROTHERDATA
---   -
GEORGEALTMARK 1954f
JOHN  SMITH   1945e
JOE   ZAWINUL 1932r




==


   --
Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie 
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem 
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania 
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być 
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie 
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość 
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorized to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, 
www.mBank.pl, e-mail: kont...@mbank.plsąd Rejonowy dla m. st. Warszawy XII 
Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców 
KRS 025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2016 r. kapitał 
zakładowy mBanku S.A. (w całości wpłacony) wynosi 168.955.696 złotych.
   


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


Re: SMF record for FTP

2017-05-30 Thread Edward Gould
> On May 28, 2017, at 12:44 PM, venkat kulkarni  
> wrote:
> 
> Hello Charles,
> 
> Thanks for reply. As you suggested,
> 
> 1) I will add SMF 119 in SMFPRMxx
> 2) I will add SMFCONFIG statement in the TCP profile dataset  with TYPE119
> 
> and then use dynamic command obeyfile and SET to make these new changes in
> affect.
> 
> But can you please help me to follow next step to find the the FTP jobs
> which are still running in our system .
> 

Try DAF at cbttape.org its free.

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


Re: Question about C++

2017-05-30 Thread Charles Mills
> I don't have a problem with using C++ as a better C.

Okay, fair enough. Perhaps I was being a bit of an OO snob. It's true. You get 
to pick and choose which features (of any language) suit your style and your 
set of problems.

You're going to gasp at this: I have not found a fondness for the C++ stream 
I/O for messages. I use "printf-style" I/O. I think it is better suited to a 
mainframe product style where all of the messages are organized and documented, 
not just whatever the programmer felt like writing in the particular situation.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of David Crayford
Sent: Tuesday, May 30, 2017 2:08 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++

On 30/05/2017 5:18 AM, Charles Mills wrote:
> Nearly any "Hello, world" program from the Web will run without modification 
> on z/OS, either as a UNIX command or as a conventional load module.
>
> ftp://www.cs.uregina.ca/pub/class/cplusplus/CExample.html
>
> z Linux is Linux, Linux, Linux. Nearly any Linux program should compile and 
> run without modification so long as it does not have "endian" dependencies.
>
> I've got a lot of C++ code but the bulk of it is proprietary. I have some 
> trivial programs but they are no more illustrative than anything you could 
> find on the Web.
>
> There are any number of C++ tutorials available. The IBM z C++ is totally 
> standard, albeit about six years behind the state of the art.

Indeed! only a subset of the C++11 standard has been implemented so far and the 
other platforms already enjoy C++17 which is almost as succinct as dynamic 
languages. At least we have type inference which Java doesn't yet. Especially 
good for iterators to swerve the boiler plate declarations:

for ( auto it = m_map.begin(); it != m_map.end(); it++ ) ...

C++ can be a very complex language with some gnarly edge cases. But if
you master the fundamentals it it's an incredibly powerful language.

> I learned Microsoft Visual C# which was easy -- great visual IDE -- and then 
> taught myself C++ from there. I think it was a good way to go. I learned true 
> object-oriented habits that way. Many people I fear claim they are writing 
> C++ but in reality are writing what I call "C with // comments."

I don't have a problem with using C++ as a better C. Some might use it 
just for scope based resource acquisition or a safe string library. Not 
everybody wants or needs OO abstractions. In a lot of modern C++ code 

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


Re: DFDSS PROBLEM - DUMP USING STORGRP PARM

2017-05-30 Thread Elardus Engelbrecht
John Dawes wrote:

>I am losing it.  Sorry.  The night shifts (because I am supporting daytime 
>users) are killing me !!

Hahaha. It is all right with me. You have my sympathy, it is part of the fun 
being a system programmer to do work at odd hours. IBM-MAIN is full of 03:00 
work war-stories. Just read it up if you have free time.

Here we are making turns to be on first/second standby. 30 minutes response 
time or you're out. Standby can sometimes be a real killer...

I will give you a large $$ invoice so you can stay real awake while I can 
buy me this little cheapie car, Rolls Royce Sweptail Coupe, for $13 million. ;-D

Article and pics...

http://www.wheels24.co.za/NewModels/2017-rolls-royce-sweptail-coupe-20170530 
http://www.wheels24.co.za/NewModels/the-most-expensive-car-yet-r168-million-rolls-royce-sweptail-cou-20170530

There is also a YouTube video showing how they're making this car.

Have fun... ;-D 

Groete / Greetings
Elardus Engelbrecht

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


Re: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Tom Marchant
On Mon, 29 May 2017 12:47:09 +0800, Timothy Sipples wrote:

>I don't know why this concept seems so hard to understand, 

It isn't hard to understand. We are not the freakin' idiots that your 
condescending attitude suggests that you think we are.

>but let me try again. 

Please stop. We know that the internet isn't 100% reliable. 
The IBM servers are not nearly as reliable as the internet, and your 
repeated harping on the unreliability of the internet is a diversionary 
tactic.

-- 
Tom Marchant

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


Re: DFDSS PROBLEM - DUMP USING STORGRP PARM

2017-05-30 Thread John Dawes
I am losing it.  Sorry.  The night shifts (because I am supporting daytime 
users) are killing me !!

Thanks to all.

On Tue, 30/5/17, Elardus Engelbrecht  wrote:

 Subject: Re: DFDSS PROBLEM - DUMP USING STORGRP PARM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Received: Tuesday, 30 May, 2017, 7:24 AM
 
 John Dawes wrote:
 
 >> Last question.  From
 looking at the example below would backup be of a physical
 or logical format?.  
 
 Logical. Actually, you already gave
 yourself the answer in your first post. This is what you
 quoted:
 
 "If you specify the DATASET keyword
 with the LOGINDDNAME, LOGINDYNAM,or STORGRP keywords,
 DFSMSdss performs a logical data set dump by using
 information in the VTOCs to select data sets..."
 
 Just trying to put it all together...
 ;-)
 
 Groete / Greetings
 Elardus Engelbrecht
 
 --
 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: Question about C++

2017-05-30 Thread David Crayford
This might bewilder you some more because C++ is a tricky language for a 
beginner. It''s a simple thin wrapper class around C stdio that provides 
RAII and some return value checks that throw exception when errors 
occur. If you can work this out you're well on your way to being 
competent. It's mainly meant as a demonstrator for 
constructors/destructors which are fundamental to C++ programming.


#include 
#include 
#include 
#include 

class File
{
public:
// default constructor
File() : m_file( 0 ) {}

// constructor - opens the file
File( const std::string & filename, const std::string & mode )
: m_file( 0 )
{
std::cout << "constructor\n";
open( filename, mode );
}

// move constructor - takes ownership of the underlying file object
File( File && rhs ) : m_file(0)
{
std::cout << "move constructor\n";
m_file = rhs.m_file;
rhs.m_file = 0;
}

// destructor
~File()
{
close();
}

public:
// opens a file
void open( const std::string & filename, const std::string & mode )
{
std::cout << "opening file " << filename << "\n";
m_file = fopen( filename.c_str(), mode.c_str() );
if (!m_file) throw std::runtime_error( "Error opening file: " + 
std::string( strerror( errno ) ) );

}

// closes the files
void close()
{
if (m_file)
{
std::cout << "closing file\n";
fclose( m_file );
m_file = 0;
}
}

// reads from the file
int read( void * buffer, size_t size )
{
return fread( buffer, 1, size, m_file );
}

// writes to the file
int write( const void * buffer, size_t size )
{
int bytesWritten = fwrite( buffer, 1, size, m_file );
if (bytesWritten == 0) // I/O error
{
throw std::runtime_error( std::string( "Error writing to 
file: " + std::string( strerror( errno ) ) ) );

}
return bytesWritten;
}

private:
FILE * m_file;  // file handle
};

// factory function to demonstrate change of ownership
File openFile( const std::string filename, const std::string & mode )
{
File file( filename, mode );
return file;
}

int main( int argc, char * argv[] )
{
try
{
// open the files
File input = openFile( "DD:INPUT", "rb, type=record, noseek" );
File output( "DD:OUTPUT", "wb, type=record" );
// copy the input file to the output file
size_t bytesRead;
char buffer[32768];
while ( ( bytesRead = input.read( buffer, sizeof buffer ) ) )
{
output.write( buffer, bytesRead );
}
// < destructors run here when the file objects go out of scope
}
catch (std::exception & e)
{
std::cout << e.what() << "\n";
}
return 0;
}



On 30/05/2017 4:32 AM, Steve Beaver wrote:

Does anyone have a complete piece of C++ code that runs under MVS or Linux that 
I can study?  99% of the stuff I write is HLASM and to a point I find C++ 
bewildering.

TIA

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: Survey: How many APF-authorized libraries?

2017-05-30 Thread Pew, Curtis G
On May 30, 2017, at 5:16 AM, R.S.  wrote:
> 
> 99 libraries on APF.
> Majority of them comes from IBM (z/OS and its components, DB2, CICS, etc.)
> Some from ISV's.
> 
> One is for our code, and this is the most important part of the list!
> We do care about its content. In short words: every member has a description 
> and owner (admin/sysprog) assigned. New members have to be accepted.

That’s similar to what we have; I counted 94 APF libraries, all but three from 
IBM or ISVs. (For several of the ISV libraries we have two versions, the 
current version and the previous in case we have to revert.) One of the two 
with our code is for VTAM USSTABs; another is essentially user exits for an ISV 
product.

-- 
Pew, Curtis G
curtis@austin.utexas.edu
ITS Systems/Core/Administrative Services


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


Re: DFDSS PROBLEM - DUMP USING STORGRP PARM

2017-05-30 Thread Elardus Engelbrecht
John Dawes wrote:

>> Last question.  From looking at the example below would backup be of a 
>> physical or logical format?.  

Logical. Actually, you already gave yourself the answer in your first post. 
This is what you quoted:

"If you specify the DATASET keyword with the LOGINDDNAME, LOGINDYNAM,or STORGRP 
keywords, DFSMSdss performs a logical data set dump by using information in the 
VTOCs to select data sets..."

Just trying to put it all together... ;-)

Groete / Greetings
Elardus Engelbrecht

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


Re: DFDSS PROBLEM - DUMP USING STORGRP PARM

2017-05-30 Thread Elardus Engelbrecht
John Dawes wrote:

>Your suggestion worked.  Thanks for catching my error. 

Thanks. You're most welcome! ;-)

> Last question.  From looking at the example below would backup be of a 
> physical or logical format?.  

Logical.

Your first post already contained PARM='TYPRUN=NORUN'. Just run it with that 
parm as per Lizette's suggestion. When ready, remove that PARM and do your 
actual dump.

Good luck!

Groete / Greetings
Elardus Engelbrecht

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


Re: DFDSS PROBLEM - DUMP USING STORGRP PARM

2017-05-30 Thread John Dawes
Lizette,

 Thanks for the suggestion to use NORUN.

On Mon, 29/5/17, Lizette Koehler  wrote:

 Subject: Re: DFDSS PROBLEM - DUMP USING STORGRP PARM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Received: Monday, 29 May, 2017, 7:24 PM
 
 Note:  The TYPRUN=NORUN  is the
 PARM input to DFDSS.
  
 
 I always Thought IBM could have done better
 with this name.
 
 //S1  EXEC
 PGM=ADRDSSU,PARM='TYPRUN=NORUN'
 
 
 
 Lizette
 
 
 >
 -Original Message-
 > From: IBM
 Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
 On
 > Behalf Of John Dawes
 > Sent: Monday, May 29, 2017 1:36 PM
 > To: IBM-MAIN@LISTSERV.UA.EDU
 > Subject: Re: DFDSS PROBLEM - DUMP USING
 STORGRP PARM
 > 
 >
 Elardus,
 > 
 > Thanks
 for the example.  I will give it a try and let you know how
 I fared.
 > Thanks again.
 > 
 >
 
 > On Mon, 29/5/17, Elardus Engelbrecht
 
 wrote:
 > 
 >  Subject:
 Re: DFDSS PROBLEM - DUMP USING STORGRP PARM
 >  To: IBM-MAIN@LISTSERV.UA.EDU
 >  Received: Monday, 29 May, 2017, 12:56
 PM
 > 
 >  John Dawes
 wrote:
 > 
 >  >Here
 is my job:
 >  >//SYSIN    DD *
 >  >  DUMP
 > 
 DATASET(INCLUDE(**)        -
 > 
 >
 >        EXCLUDE(SYS1.VVDS.**
 -
 >  >
 > 
 >  SYS1.VTOCIX.**) -
 >
 
 >  One ')' is missing. Add a
 ')' between
 >  ')' and
 '-'.
 > 
 > 
 >
 >  STORGRP(MVS003)      -
 >  >      OUTDD(TAPE)
 >  OPT(4) ALLDATA(*) ALLEXCP -
 >  >      SPHERE
 >            -
 > 
 >      TOL(ENQF)
 > 
 >  Test it with TYPRUN=HOLD and report
 >  back.
 > 
 >  HTH!
 > 
 >  Groete / Greetings
 >  Elardus Engelbrecht
 >
 
 > 
 --
 >  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: DFDSS PROBLEM - DUMP USING STORGRP PARM

2017-05-30 Thread John Dawes
Elardus,

 Your suggestion worked.  Thanks for catching my error.  Last question.  
From looking at the example below would backup be of a physical or logical 
format?.  

 DUMP  DATASET(INCLUDE(**)-
  EXCLUDE(SYS1.VVDS.** -  
  SYS1.VTOCIX.**)) -  
STORGRP(MVS003)  -   
OUTDD(TAPE) OPT(4) ALLDATA(*) ALLEXCP -   
SPHERE-   
TOL(ENQF) 


On Mon, 29/5/17, Elardus Engelbrecht  wrote:

 Subject: Re: DFDSS PROBLEM - DUMP USING STORGRP PARM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Received: Monday, 29 May, 2017, 12:56 PM
 
 John Dawes wrote:
 
 >Here is my job:
 >//SYSIN    DD *
 >  DUMP 
 DATASET(INCLUDE(**)        -
 >         
       EXCLUDE(SYS1.VVDS.** -
 >         
              
 SYS1.VTOCIX.**) -
 
 One ')' is missing. Add a ')' between
 ')' and '-'.
 
 >     
 STORGRP(MVS003)      -
 >      OUTDD(TAPE)
 OPT(4) ALLDATA(*) ALLEXCP -
 >      SPHERE 
           -
 >      TOL(ENQF)
 
 Test it with TYPRUN=HOLD and report
 back.
 
 HTH!
 
 Groete / Greetings
 Elardus Engelbrecht
 
 --
 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: Survey: How many APF-authorized libraries?

2017-05-30 Thread R.S.

99 libraries on APF.
Majority of them comes from IBM (z/OS and its components, DB2, CICS, etc.)
Some from ISV's.

One is for our code, and this is the most important part of the list!
We do care about its content. In short words: every member has a 
description and owner (admin/sysprog) assigned. New members have to be 
accepted.



--
Radoslaw Skorupka
Lodz, Poland




==


   --
Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie 
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem 
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania 
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być 
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie 
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość 
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorized to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, 
www.mBank.pl, e-mail: kont...@mbank.plsąd Rejonowy dla m. st. Warszawy XII 
Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców 
KRS 025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2016 r. kapitał 
zakładowy mBanku S.A. (w całości wpłacony) wynosi 168.955.696 złotych.
   


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


Re: Survey: How many APF-authorized libraries?

2017-05-30 Thread Vernooij, Kees (ITOPT1) - KLM
That's a quick counter: we have a little below 400.

Kees.

> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Peter Hunkeler
> Sent: 30 May, 2017 11:35
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: AW: Survey: How many APF-authorized libraries?
> 
> If you have SDSF, and are permitted to the "APF" command, this should
> give you the total in the top line. Remember to limit to a single
> system, or, divide the total by the number of the systems :-)
> 
> Our list is a bit below 200 data sets.
> 
> --Peter Hunkeler
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286


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


AW: Survey: How many APF-authorized libraries?

2017-05-30 Thread Peter Hunkeler
If you have SDSF, and are permitted to the "APF" command, this should give you 
the total in the top line. Remember to limit to a single system, or, divide the 
total by the number of the systems :-)

Our list is a bit below 200 data sets.

--Peter Hunkeler


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


Re: Question about C++

2017-05-30 Thread David Crayford

On 30/05/2017 5:18 AM, Charles Mills wrote:

Nearly any "Hello, world" program from the Web will run without modification on 
z/OS, either as a UNIX command or as a conventional load module.

ftp://www.cs.uregina.ca/pub/class/cplusplus/CExample.html

z Linux is Linux, Linux, Linux. Nearly any Linux program should compile and run without 
modification so long as it does not have "endian" dependencies.

I've got a lot of C++ code but the bulk of it is proprietary. I have some 
trivial programs but they are no more illustrative than anything you could find 
on the Web.

There are any number of C++ tutorials available. The IBM z C++ is totally 
standard, albeit about six years behind the state of the art.


Indeed! only a subset of the C++11 standard has been implemented so far 
and the other platforms already enjoy C++17 which is almost as succinct 
as dynamic languages. At least we have type inference which Java doesn't 
yet. Especially good for iterators to swerve the boiler plate declarations:


for ( auto it = m_map.begin(); it != m_map.end(); it++ ) ...

C++ can be a very complex language with some gnarly edge cases. But if 
you master the fundamentals it it's an incredibly powerful language.



I learned Microsoft Visual C# which was easy -- great visual IDE -- and then taught 
myself C++ from there. I think it was a good way to go. I learned true object-oriented 
habits that way. Many people I fear claim they are writing C++ but in reality are writing 
what I call "C with // comments."


I don't have a problem with using C++ as a better C. Some might use it 
just for scope based resource acquisition or a safe string library. Not 
everybody wants or needs OO abstractions. In a lot of modern C++ code 
generic code (templates) with implicit interfaces is the way to go. I've 
solved so many problems elegantly using templates that would have been 
tedious using classic OO design with virtual functions and dynamic 
dispatch.




Charles

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Steve Beaver
Sent: Monday, May 29, 2017 1:32 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Question about C++

Does anyone have a complete piece of C++ code that runs under MVS or Linux that 
I can study?  99% of the stuff I write is HLASM and to a point I find C++ 
bewildering.

--
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: you can request improvements to IBM Knowledge Center using the RFE process now

2017-05-30 Thread Timothy Sipples
Tom Brennan wrote:
>I agree #2 and #3 are really important, but I think Allan was talking
>about #1.

I think #1 is *also* important! But #1 isn't sufficient for the required
outcome.

I try to focus on outcomes first. Unfortunately, in this particular case,
no matter what a vendor does -- and the vendors including IBM should do
better! (#1) -- they cannot assure the outcomes mission critical customers
require. Those mission critical customers (almost all of you) have some
role to play, too, including #3.

So please take advantage of IBM Knowledge Center for z/OS and/or other
contingencies. And yes, by all means, make sure IBM officially knows what
you need that IBM can accomplish. But...have a contingency (or a couple),
too.

Elardus Engelbrecht wrote:
>Many many years ago I could not submit my SCRT in time! Why? IBM was
>unavailable. Really!

In most countries there is now dual pathing (to some degree anyway, since
they're both Internet dependent) to submit SCRT reports: LMS Web and LMS
eMail. IETF RFC 1149 compliant submission of SCRT reports is not yet
available, as far as I know. There are also the "force majeure" situations,
yes.


Timothy Sipples
IT Architect Executive, Industry Solutions, IBM z Systems, AP/GCG/MEA
E-Mail: sipp...@sg.ibm.com

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