Re: [9fans] bundle //GO.SYSIN DD

2008-07-30 Thread Greg Comeau
In article [EMAIL PROTECTED], Roman V. Shaposhnik [EMAIL PROTECTED] wrote:
ron minnich wrote:
 more useless crap from memory:

 the actual correct usage is
 //GO.SYSIN DD *

 but of course the * would make things messy.

 See this and realize this stuff is still being taught!
 http://www.coba.unt.edu/itds/courses/bcis3690/bcis3690.ht
So... for the dense ones (like myself), what IS the joke Rob was
referring to? JCL == Java Control Language?

I doubt it.  Some files (some software packaged up) are make to unravel
and install themselves on a number of different systems just by running
the file, so I suspect it was a reference to something along those
lines, though I'm totally wild guessing myself, but suspect it
was being used something like a UNIX sh `here document', and he
thought that as cute enough to drag along :)
-- 
Greg Comeau / 4.3.10.1 with C++0xisms now in beta!
Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout
World Class Compilers:  Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?



Re: [9fans] bundle //GO.SYSIN DD

2008-07-29 Thread Roman V. Shaposhnik

ron minnich wrote:

more useless crap from memory:

the actual correct usage is
//GO.SYSIN DD *

but of course the * would make things messy.

See this and realize this stuff is still being taught!
http://www.coba.unt.edu/itds/courses/bcis3690/bcis3690.ht

So... for the dense ones (like myself), what IS the joke Rob was
referring to? JCL == Java Control Language?

Thanks,
Roman.



Re: [9fans] bundle //GO.SYSIN DD

2008-07-29 Thread Roman V. Shaposhnik

Charles Forsyth wrote:

JCL == Java Control Language?



the Job Control Language for System/360
  

Yeah, I kind of knew that ;-) I was trying to come
up with the best joke I could. If this is not it, I have
no clue what could be funny about JCL ;-)

bundles are implemented by here documents,
and the end marker for the document must not appear
in the data, and IBM JCL syntax (even if it were strictly correct)
was unlikely to appear on Unix systems
but would still have a cheery familiarity to some.
the elaborate DD statement defines file associations for a job and
can manipulate permanent files (commonly used with IEFBR14)
  

Now this does make sense.

Thanks,
Roman.



Re: [9fans] bundle //GO.SYSIN DD

2008-07-29 Thread Skip Tavakkolian
 bundles are implemented by here documents,
 and the end marker for the document must not appear
 in the data

vague recollection (1982), it was something like:

//SYSIN DD  *
data
records
go
here
/*




Re: [9fans] bundle //GO.SYSIN DD

2008-07-29 Thread Brantley Coile

Now, if I can figure out how to do the over punch on this keyboard. :)

Job control language was more like assembler with very, very simple 
operations.  The problem was that a lot of verby things got put into the 
operands.


DD means data definition.  The first symbol, SYSIN in this case, is the 
name that the program will open.  The operands after the DD operation 
specified the device at which SYSIN pointed.  Splat was a sort of `here' 
document.  The /* was the end-of-file for it.


Everyone I knew carried the Brown book which has examples of the common 
permutations.  You had to modify for your local OS installation.  The 
Brown book was actually blue.  The fellow should have been named Black. 
 Because after banging your head on JCL it was Black and blue--not 
Brown and blue.


Skip Tavakkolian wrote:

bundles are implemented by here documents,
and the end marker for the document must not appear
in the data


vague recollection (1982), it was something like:

//SYSIN DD  *
data
records
go
here
/*






Re: [9fans] bundle //GO.SYSIN DD

2008-07-28 Thread Greg Comeau
In article [EMAIL PROTECTED],
Sander van Dijk [EMAIL PROTECTED] wrote:
Does anyone know what the meaning/origin of //GO.SYSIN DD in
bundle(1) is? I've seen this on other unix-likes as well, but I
thought I'd ask here since the awareness of historical context seems
to be quite a bit above average on this list.

Wow, never thought I'd see that again in my lifetime :)
It's from JCL (Job Control Language) from IBM mainframes,
in short, the statement in your subject involved a way
to specify where your default input was coming from
(it had/has other attributes you could add to the line to
say more about the file etc).  Dunno why it's coming along
here but probably some sort of emulator or something similar.
-- 
Greg Comeau / 4.3.10.1 with C++0xisms now in beta!
Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout
World Class Compilers:  Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?



Re: [9fans] bundle //GO.SYSIN DD

2008-07-28 Thread Sander van Dijk
Charles, Rob, Greg,

Thanks for the context.

Greetings, Sander.



Re: [9fans] bundle //GO.SYSIN DD

2008-07-28 Thread ron minnich
more useless crap from memory:

the actual correct usage is
//GO.SYSIN DD *

but of course the * would make things messy.

See this and realize this stuff is still being taught!
http://www.coba.unt.edu/itds/courses/bcis3690/bcis3690.htm

ron



Re: [9fans] bundle //GO.SYSIN DD

2008-07-26 Thread Rob Pike
I first saw it used in bundling software created by James Gosling,
and liked the (relevant, I might add) joke so much I put it in the
Plan 9 version.

-rob