Re: How to change the default '.java' extension to '.jav'?

2020-04-12 Thread CM Poncelet
SPF/PC is the CTC PC-version of ISPF/PDF. It supports Rexx (but not the
full IBM REXX), ISREDIT edit macros, primary and line commands, tables,
panels etc., and it also supports assembling, compiling, link-editing 
and executing programs - all from within SPF/PC.
 
I use it for writing Rexx, C, C++, MASM 6.1 (the Microsoft version of
Intel assembler) and for just about everything else. 
 
The problem with compiling Java is that SPF/PC supports only DOS 8.3 
format files, which then excludes ".java" extensions as shown below:

javac C:\JAVA\MYPROGS\CH01\HELLO1~1.java > C:\JAVA\OUTPUT\HELLO1~1.OUT
javac: file not found: C:\JAVA\MYPROGS\CH01\HELLO1~1.java
Usage: javac  
use -help for a list of possible options 
 
The alternative would be to use "Notepad", up with which I will not put. 
 

 
 SPF/PC(1)  PRIMARY OPTION PANEL ─ V 4.0
 OPTION  ═══►

0  SPF/PC PARMS - Specify terminal and user parameters   USERID   - CMP
1  BROWSE   - Display source data or output listings TIME - 03:50
2  EDIT - Create or change source data   OPER SYS - DOS
3  UTILITIES- Perform utility functions  DATE - 20.097
4  FOREGROUND   - Invoke user applications in foreground
5  ENVIRONMENT  - Display information about system configuration
6  COMMAND  - Execute system command
7  DIALOG TEST  - Perform dialog testing
8  EH?  - Testing new features
C  CHANGES  - Changes from last version
T  TUTORIAL - Display information about SPF/PC
S  SAMPLES  - Sample panels and programs ▄▄▄
X  EXIT - Terminate SPF/PC  ─  ▄▄
   ▄▄─▄▄─  ▄▄──▄▄─
 Enter END command to terminate SPF/PC.   ▄▄─ ▄▄─  ▄▄─ ▄▄─
   ▄▄─ ▄▄─
VERSION 4.0.7 (C) COPYRIGHT   ▄▄── ▄▄  ▄▄─
 COMMAND TECHNOLOGY CORP 1984, 1994   ▄▄─  ▄▄─  ──
   ──   ──   

 


On 12/04/2020 04:42, David Crayford wrote:
> Instead of these work arounds to use a prehistoric DOS-based editor
> why don't you switch to an IDE?
>
> The best IDE for Java is Intellij IDEA which has highly advanced code
> analysis/refactoring features. What exactly does SPF/PC buy you?
>
> On 2020-04-12 10:56 AM, CM Poncelet wrote:
>> No can do. The SPF/PC 4.0.7 editor is DOS-based, but has an extender to
>> use whatever memory it needs > 640K.
>>   It's Windoze that needs fixing.
>>
>>  
>>
>> On 12/04/2020 03:45, Paul Gilmartin wrote:
>>> On Sun, 12 Apr 2020 03:40:58 +0100, CM Poncelet wrote:
>>>
 Thanks, but never mind.
   The change to using '.jav' instead of '.java' for the compiler would
 have to be done at Java's implementation level, i.e. as a sysadmin or
 sysprog. I have found no-one among the Java developers and course
 tutors
 who could tell me how to do this. So I thought this list *might* know.
   
>>> Better to fix the editor than to break the compiler.
>>>
>>> -- 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
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> .
>

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


IBM will offer free COBOL training to address overloaded unemployment systems

2020-04-12 Thread Gabe Goldberg
IBM is releasing a free training course next week to teach the 
60-year-old programming language COBOL to coders. It is also launching a 
forum where those with knowledge of the language can be matched with 
companies in need of help maintaining their critical systems.


The moves come in response to desperate pleas by state governors for 
anyone with knowledge of COBOL to volunteer their time to help keep 
unemployment systems functioning, a critical need as the coronavirus has 
resulted in an unprecedented surge in people being laid off and having 
to claim unemployment benefits.


https://www.inputmag.com/tech/ibm-will-offer-free-cobol-training-to-address-overloaded-unemployment-systems

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


Re: About the "hello world" program

2020-04-12 Thread Charles Mills
True that. CharlesSent from a mobile; please excuse the brevity.
 Original message From: Jeremy Nicoll 
 Date: 4/12/20  12:47 PM  (GMT-08:00) To: 
IBM-MAIN@LISTSERV.UA.EDU Subject: Re: About the "hello world" program On Sun, 
12 Apr 2020, at 19:42, Charles Mills wrote:> I suppose one could invent a 
language that had a verb, BIF or library > call Say100Bottles() that would 
thereby solve the problem in one line > of code.You can do it in less.  You 
invent a language whose runtime initialisation code does that, unless the 
programmer provides any other code.  Then you run a 'program' consisting of an 
empty source file.-- Jeremy Nicoll - my opinions are my 
own.--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: What is that JES2 Command Again?

2020-04-12 Thread Jim Brooks
I think the reply means that no jobs are using more than 1 PCT of the
SPOOL.
Regards,
Jim


On Sun, Apr 12, 2020 at 3:56 PM Lizette Koehler 
wrote:

> Good to know I had issued the command correctly.  I was doing it for >1% on
> a specific spool volumes
>
> Only result I get back is
>
> No selectable entries were found matching specification.
>
> I will keep working with this
>
>
> Thanks much
>
> Lizette
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of
> DAL POS Raphael
> Sent: Sunday, April 12, 2020 12:27 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: What is that JES2 Command Again?
>
> Hi Lizette,
>
> Something like :
>
> $DJQ,SPL=(%>1)
>
> Ciao,
>
> --
> Raphael Dal Pos / z/OS Support
> Generali Shared Services S.c.a.r.l.
> GSS\CIN-MF (Central Infrastructure Mainframe) 11-17, Avenue François
> Mitterrand
> 93200 Saint Denis / France
> Wilo W 03 B1 029C
> raphael.dal...@generali.com +(33)1-58-38-59-67
>   or mobile +(33)6.24.33.20.87
> --
> "MVS: Guilty, until proven innocent !!" RDP 2009
>
>
> -Message d'origine-
> De : IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] De la
> part de Lizette Koehler Envoyé : dimanche 12 avril 2020 21:22 À :
> IBM-MAIN@LISTSERV.UA.EDU Objet : What is that JES2 Command Again?
>
> Sorry,
>
>
>
> I cannot find my note that tells me the JES2 Command to list all output on
> a
> Spool volume greater than 1%
>
>
>
> I have searched and I do not readily see it
>
>
>
> Thank you
>
>
>
> Lizette
>
> (PS.  We could make this a contest.  Winner gets Accolades)
>
>
>
>
>
>
> --
> 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: About the "hello world" program

2020-04-12 Thread scott Ford
Better yet Bob, why would you want too

On Sun, Apr 12, 2020 at 5:31 PM Bob Bridges  wrote:

> I started to skip this one without reading carefully, but then the term
> caught my eye.  "Quine"...quine...Doggone, I'm sure I've heard of it.  In
> fact, I'm morally certain Douglas Hofstadter talked about them, right?
> Which means they must be some kind of paradox or self-referential joke.
> Finally gave in and clicked on the link.  Yeah, that was it.
>
> (Not a quine: "Thit sentence contains exactly threee errors.")
>
> Delays, delays...
>
> ---
> Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
>
> /* The kingdom of Heaven is not for the well-meaning; it is for the
> desperate.  -James Denney (1856-1917) */
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Robert Prins
> Sent: Sunday, April 12, 2020 18:53
>
> Another interesting page, with Quines, can be found on rosettacode.org
> . Here a version in z/OS assembler is
> still
> missing, and the versions that compile with z/OS Cobol seem to be quite
> big. The
> PL/I versions are probably optimal, although I would love to be proved
> wrong.
>
> Some shorter non-cheating REXX Quines can be found on
> , which also has an APL version
> which is
> not on the page on Rosetta.
>
> And then, not really a Quine, there's this one,
> 
>
> --
> 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: About the "hello world" program

2020-04-12 Thread Bob Bridges
I started to skip this one without reading carefully, but then the term caught 
my eye.  "Quine"...quine...Doggone, I'm sure I've heard of it.  In fact, I'm 
morally certain Douglas Hofstadter talked about them, right?  Which means they 
must be some kind of paradox or self-referential joke.  Finally gave in and 
clicked on the link.  Yeah, that was it.

(Not a quine: "Thit sentence contains exactly threee errors.")

Delays, delays...

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* The kingdom of Heaven is not for the well-meaning; it is for the desperate.  
-James Denney (1856-1917) */

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Robert Prins
Sent: Sunday, April 12, 2020 18:53

Another interesting page, with Quines, can be found on rosettacode.org 
. Here a version in z/OS assembler is still 
missing, and the versions that compile with z/OS Cobol seem to be quite big. 
The 
PL/I versions are probably optimal, although I would love to be proved wrong.

Some shorter non-cheating REXX Quines can be found on 
, which also has an APL version which 
is 
not on the page on Rosetta.

And then, not really a Quine, there's this one, 


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


Re: New Jersey Pleas for COBOL Coders for Mainframes Amid Coronavirus Pandemic

2020-04-12 Thread Phil Smith III
Seymour J Metz wrote:

>because you seemed to find unusual something that was bog standard.

 

No, I wondered which of a few possibilities it was. RIF.


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


Re: What is that JES2 Command Again?

2020-04-12 Thread Lizette Koehler
Good to know I had issued the command correctly.  I was doing it for >1% on
a specific spool volumes

Only result I get back is 

No selectable entries were found matching specification.

I will keep working with this


Thanks much

Lizette

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
DAL POS Raphael
Sent: Sunday, April 12, 2020 12:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: What is that JES2 Command Again?

Hi Lizette, 

Something like : 

$DJQ,SPL=(%>1) 

Ciao, 

--
Raphael Dal Pos / z/OS Support
Generali Shared Services S.c.a.r.l.
GSS\CIN-MF (Central Infrastructure Mainframe) 11-17, Avenue François
Mitterrand
93200 Saint Denis / France
Wilo W 03 B1 029C
raphael.dal...@generali.com +(33)1-58-38-59-67
  or mobile +(33)6.24.33.20.87
--
"MVS: Guilty, until proven innocent !!" RDP 2009 


-Message d'origine-
De : IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] De la
part de Lizette Koehler Envoyé : dimanche 12 avril 2020 21:22 À :
IBM-MAIN@LISTSERV.UA.EDU Objet : What is that JES2 Command Again?

Sorry,

 

I cannot find my note that tells me the JES2 Command to list all output on a
Spool volume greater than 1%

 

I have searched and I do not readily see it

 

Thank you 

 

Lizette

(PS.  We could make this a contest.  Winner gets Accolades)

 

 


--
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: About the "hello world" program

2020-04-12 Thread Robert Prins

On 2020-04-12 14:18, Paul Gilmartin wrote:

On Sat, 11 Apr 2020 15:23:47 +, Robert Prins wrote:


On 2020-04-11 06:25, David Crayford wrote:

On 2020-04-11 8:42 AM, Dale R. Smith wrote:

After "Hello World!" maybe the next step would be "99 Bottles of Beer"!:-)> 
 http://99-bottles-of-beer.net/


I haven't the stamina to check: What's the shortest of the 1500
examples, with/without correct grammatical plurals?


The alternative REXX version might be a good candidate for correct grammar.

Another interesting page, with Quines, can be found on rosettacode.org 
. Here a version in z/OS assembler is still 
missing, and the versions that compile with z/OS Cobol seem to be quite big. The 
PL/I versions are probably optimal, although I would love to be proved wrong.


Some shorter non-cheating REXX Quines can be found on 
, which also has an APL version which is 
not on the page on Rosetta.


And then, not really a Quine, there's this one, 



Robert
--
Robert AH Prins
robert.ah.prins(a)gmail.com
The hitchhiking grandfather - https://prino.neocities.org/indez.html
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html

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


Re: About the "hello world" program

2020-04-12 Thread Jeremy Nicoll
On Sun, 12 Apr 2020, at 19:42, Charles Mills wrote:
> I suppose one could invent a language that had a verb, BIF or library 
> call Say100Bottles() that would thereby solve the problem in one line 
> of code.

You can do it in less.  You invent a language whose runtime initialisation 
code does that, unless the programmer provides any other code.  Then 
you run a 'program' consisting of an empty source file.

-- 
Jeremy Nicoll - my opinions are my own.

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


Re: What is that JES2 Command Again?

2020-04-12 Thread DAL POS Raphael
Hi Lizette, 

Something like : 

$DJQ,SPL=(%>1) 

Ciao, 

-- 
Raphael Dal Pos / z/OS Support
Generali Shared Services S.c.a.r.l.
GSS\CIN-MF (Central Infrastructure Mainframe)
11-17, Avenue François Mitterrand
93200 Saint Denis / France
Wilo W 03 B1 029C  
raphael.dal...@generali.com +(33)1-58-38-59-67 
  or mobile +(33)6.24.33.20.87 
-- 
"MVS: Guilty, until proven innocent !!" RDP 2009 


-Message d'origine-
De : IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] De la part 
de Lizette Koehler
Envoyé : dimanche 12 avril 2020 21:22
À : IBM-MAIN@LISTSERV.UA.EDU
Objet : What is that JES2 Command Again?

Sorry,

 

I cannot find my note that tells me the JES2 Command to list all output on a
Spool volume greater than 1%

 

I have searched and I do not readily see it

 

Thank you 

 

Lizette

(PS.  We could make this a contest.  Winner gets Accolades)

 

 


--
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: What is that JES2 Command Again?

2020-04-12 Thread Mark Jacobs
Try this.

$DJQ,SPOOL=(V=xx,PERCENT>1)

Mark Jacobs

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com

‐‐‐ Original Message ‐‐‐
On Sunday, April 12, 2020 3:21 PM, Lizette Koehler  
wrote:

> Sorry,
>
> I cannot find my note that tells me the JES2 Command to list all output on a
> Spool volume greater than 1%
>
> I have searched and I do not readily see it
>
> Thank you
>
> Lizette
>
> (PS. We could make this a contest. Winner gets Accolades)
>
>
> ---
>
> 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


What is that JES2 Command Again?

2020-04-12 Thread Lizette Koehler
Sorry,

 

I cannot find my note that tells me the JES2 Command to list all output on a
Spool volume greater than 1%

 

I have searched and I do not readily see it

 

Thank you 

 

Lizette

(PS.  We could make this a contest.  Winner gets Accolades)

 

 


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


Re: About the "hello world" program

2020-04-12 Thread Charles Mills
I suppose one could invent a language that had a verb, BIF or library call 
Say100Bottles() that would thereby solve the problem in one line of code.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Paul Gilmartin
Sent: Sunday, April 12, 2020 7:19 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: About the "hello world" program


I haven't the stamina to check: What's the shortest of the 1500
examples, with/without correct grammatical plurals?

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


Re: About the "hello world" program

2020-04-12 Thread Paul Gilmartin
On Sat, 11 Apr 2020 15:23:47 +, Robert Prins wrote:

>On 2020-04-11 06:25, David Crayford wrote:
>> On 2020-04-11 8:42 AM, Dale R. Smith wrote:
>>> After "Hello World!" maybe the next step would be "99 Bottles of Beer"!:-)>
>>>
>>> http://99-bottles-of-beer.net/
>>>
>>> After a few real beers, the virtual beers would be a lot harder!  Ha Ha
>>
>> haha, some creative soul has even done JCL using utilities
>> http://99-bottles-of-beer.net/language-jcl-6.html
>
>Yes, and you can also do it using JCL and the PL/I / COBOL / Fortran / C / C++ 
>/
>etc compiler.
>
>This example should most definitely not be called "language JCL"!
> 
Indeed.  I'd toss the JCL and call it IEBDG.
(Waiting for the DFSORT example to surface.)

Are utilities considered "languages"?  One criterion is conditionals
plus either iteration or recursion.  JCL might have (limited)
recursion via nested PROC calls (example?) but no condition to
terminate the recursion.

I haven't the stamina to check: What's the shortest of the 1500
examples, with/without correct grammatical plurals?

-- gil

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


Re: About the "hello world" program

2020-04-12 Thread Seymour J Metz
You are or will turn foo this year.


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


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Mike Schwab [mike.a.sch...@gmail.com]
Sent: Sunday, April 12, 2020 10:09 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: About the "hello world" program

Phrase the response as "You will turn ### years old this year."

On Sun, Apr 12, 2020 at 1:21 PM Seymour J Metz  wrote:
>
> Yes, but then the answer wouldn't be a year off.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Mike Stramba [mikestra...@gmail.com]
> Sent: Sunday, April 12, 2020 8:18 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: About the "hello world" program
>
> That would take it to another level of complexity
>
> (Parsing day, month, year), instead of just year
>
> It's already complex enough for some languages (i.e. assembler) for
> converting the string input to numeric etc.
>
> And *just* getting *any* input is a "project" in "bare-metal"  assembler.
>
> Mike
>
> On 4/12/20, Seymour J Metz  wrote:
> > say 'What is your birthday?';
> >
> >
> > --
> > Shmuel (Seymour J.) Metz
> > http://mason.gmu.edu/~smetz3
> >
> > 
> > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
> > Mike Stramba [mikestra...@gmail.com]
> > Sent: Sunday, April 12, 2020 12:23 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: About the "hello world" program
> >
> >> After "Hello World!" maybe the next step would be "99 Bottles of Beer"!
> >
> > After "Hello World"  (output only ...obv), I like an "age" program :
> >
> > /* rexx */
> >
> > say 'What is your name ?'
> > pull name
> > say 'What is your age ?'
> > pull age
> > yb = 2020 - age
> > say 'You were born in the year ' yb
> >
> > Mike
> >
> > --
> > 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



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

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


Re: About the "hello world" program

2020-04-12 Thread Mike Schwab
Phrase the response as "You will turn ### years old this year."

On Sun, Apr 12, 2020 at 1:21 PM Seymour J Metz  wrote:
>
> Yes, but then the answer wouldn't be a year off.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Mike Stramba [mikestra...@gmail.com]
> Sent: Sunday, April 12, 2020 8:18 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: About the "hello world" program
>
> That would take it to another level of complexity
>
> (Parsing day, month, year), instead of just year
>
> It's already complex enough for some languages (i.e. assembler) for
> converting the string input to numeric etc.
>
> And *just* getting *any* input is a "project" in "bare-metal"  assembler.
>
> Mike
>
> On 4/12/20, Seymour J Metz  wrote:
> > say 'What is your birthday?';
> >
> >
> > --
> > Shmuel (Seymour J.) Metz
> > http://mason.gmu.edu/~smetz3
> >
> > 
> > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
> > Mike Stramba [mikestra...@gmail.com]
> > Sent: Sunday, April 12, 2020 12:23 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: About the "hello world" program
> >
> >> After "Hello World!" maybe the next step would be "99 Bottles of Beer"!
> >
> > After "Hello World"  (output only ...obv), I like an "age" program :
> >
> > /* rexx */
> >
> > say 'What is your name ?'
> > pull name
> > say 'What is your age ?'
> > pull age
> > yb = 2020 - age
> > say 'You were born in the year ' yb
> >
> > Mike
> >
> > --
> > 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



-- 
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: About the "hello world" program

2020-04-12 Thread Paul Gilmartin
(off-list)
On 2020-04-12, at 07:21:15, Seymour J Metz  wrote:
> 
> Yes, but then the answer wouldn't be a year off.
>  
Not always:  https://www.explainxkcd.com/wiki/index.php/2248:_New_Year%27s_Eve

> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Mike Stramba [mikestra...@gmail.com]
> Sent: Sunday, April 12, 2020 8:18 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: About the "hello world" program
> 
> That would take it to another level of complexity
> 
> (Parsing day, month, year), instead of just year
> 
> It's already complex enough for some languages (i.e. assembler) for
> converting the string input to numeric etc.
> 
> And *just* getting *any* input is a "project" in "bare-metal"  assembler.
> 
> Mike
> 
> On 4/12/20, Seymour J Metz  wrote:
>> say 'What is your birthday?';
>> 
>> 
>> --
>> Shmuel (Seymour J.) Metz
>> http://mason.gmu.edu/~smetz3
>> 
>> 
>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
>> Mike Stramba [mikestra...@gmail.com]
>> Sent: Sunday, April 12, 2020 12:23 AM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: About the "hello world" program
>> 
>>> After "Hello World!" maybe the next step would be "99 Bottles of Beer"!
>> 
>> After "Hello World"  (output only ...obv), I like an "age" program :
>> 
>> /* rexx */
>> 
>> say 'What is your name ?'
>> pull name
>> say 'What is your age ?'
>> pull age
>> yb = 2020 - age
>> say 'You were born in the year ' yb
>> 
>> Mike

-- gil

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


Re: About the "hello world" program

2020-04-12 Thread Seymour J Metz
Yes, but then the answer wouldn't be a year off.


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


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Mike Stramba [mikestra...@gmail.com]
Sent: Sunday, April 12, 2020 8:18 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: About the "hello world" program

That would take it to another level of complexity

(Parsing day, month, year), instead of just year

It's already complex enough for some languages (i.e. assembler) for
converting the string input to numeric etc.

And *just* getting *any* input is a "project" in "bare-metal"  assembler.

Mike

On 4/12/20, Seymour J Metz  wrote:
> say 'What is your birthday?';
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
> Mike Stramba [mikestra...@gmail.com]
> Sent: Sunday, April 12, 2020 12:23 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: About the "hello world" program
>
>> After "Hello World!" maybe the next step would be "99 Bottles of Beer"!
>
> After "Hello World"  (output only ...obv), I like an "age" program :
>
> /* rexx */
>
> say 'What is your name ?'
> pull name
> say 'What is your age ?'
> pull age
> yb = 2020 - age
> say 'You were born in the year ' yb
>
> Mike
>
> --
> 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: About the "hello world" program

2020-04-12 Thread Mike Stramba
That would take it to another level of complexity

(Parsing day, month, year), instead of just year

It's already complex enough for some languages (i.e. assembler) for
converting the string input to numeric etc.

And *just* getting *any* input is a "project" in "bare-metal"  assembler.

Mike

On 4/12/20, Seymour J Metz  wrote:
> say 'What is your birthday?';
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
> Mike Stramba [mikestra...@gmail.com]
> Sent: Sunday, April 12, 2020 12:23 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: About the "hello world" program
>
>> After "Hello World!" maybe the next step would be "99 Bottles of Beer"!
>
> After "Hello World"  (output only ...obv), I like an "age" program :
>
> /* rexx */
>
> say 'What is your name ?'
> pull name
> say 'What is your age ?'
> pull age
> yb = 2020 - age
> say 'You were born in the year ' yb
>
> Mike
>
> --
> 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: About the "hello world" program

2020-04-12 Thread Seymour J Metz
say 'What is your birthday?';


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


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Mike Stramba [mikestra...@gmail.com]
Sent: Sunday, April 12, 2020 12:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: About the "hello world" program

> After "Hello World!" maybe the next step would be "99 Bottles of Beer"!

After "Hello World"  (output only ...obv), I like an "age" program :

/* rexx */

say 'What is your name ?'
pull name
say 'What is your age ?'
pull age
yb = 2020 - age
say 'You were born in the year ' yb

Mike

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