For Programmers: Free Programming Magazines  


Home > Archive > Cobol > January 2005 > COBOL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author COBOL
TammyBain

2004-12-22, 8:55 pm

I can't find any documentation on assign statements with
-UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?

William M. Klein

2004-12-22, 8:55 pm

You don't tell us

- COMPILER (release, version, and vendor)

- Operating system (e.g. VSE, MVS, z/OS, Windows, whatever)

- What YOUR compiler vendor's documentation (LRM) says for the "Select/Assign
clause).

***

However, for IBM mainframes the bottom-line is that UT-xxxx is a feature from
VERY old (long unsupported) compilers that is IGNORED (treated as a comment) in
all currently supported compilers.


--
Bill Klein
wmklein <at> ix.netcom.com
"TammyBain" <baint@cityofrochester.gov> wrote in message
news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com...
>I can't find any documentation on assign statements with
> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?
>



Robert Wagner

2004-12-23, 3:55 am

On Wed, 22 Dec 2004 17:09:25 -0500, "TammyBain"
<baint@cityofrochester.gov> wrote:

>I can't find any documentation on assign statements with
>-UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?


Device-specific assignments are obsolete. Nowadays, ASSIGN statements
take three forms:

1. SELECT file ASSIGN TO '/path/file'

2. SELECT file ASSIGN TO data-name (which contains /path/file)

3. SELECT file ASSIGN TO ddname (environment variable or JCL
containing /path/file)
Donald Tees

2004-12-23, 3:55 am

Robert Wagner wrote:
> On Wed, 22 Dec 2004 17:09:25 -0500, "TammyBain"
> <baint@cityofrochester.gov> wrote:
>
>
>
>
> Device-specific assignments are obsolete. Nowadays, ASSIGN statements
> take three forms:
>
> 1. SELECT file ASSIGN TO '/path/file'
>
> 2. SELECT file ASSIGN TO data-name (which contains /path/file)
>
> 3. SELECT file ASSIGN TO ddname (environment variable or JCL
> containing /path/file)


"PRN".

Donald


Donald Tees

2004-12-23, 3:55 am

Donald Tees wrote:
> Robert Wagner wrote:
>
>
>
> "PRN".
>
> Donald
>
>


Not to mention standard-in and standard-out, though I suppose they are
really "JCL names". Maybe printers are as well. Depends on how you look
at it. What is the context TamyBain? Platform and compiler?

Donald



Pete Dashwood

2004-12-23, 8:55 am


"TammyBain" <baint@cityofrochester.gov> wrote in message
news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com...
> I can't find any documentation on assign statements with
> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?
>
>

The UT stands for "Utility". In the very olden days, before disks were
invented and freely available, this was tape. Later, replaced by disk
drives, these "utility" devices were available for any kind of storage
requirement. The UT was not about a physical device, it was about the
logical use of a physical device, i.e. as a "Utility".

Other posts have covered the implications for COBOL; I just thought your
actual question needed an answer.

Pete.



Howard Brazee

2004-12-23, 3:55 pm


On 22-Dec-2004, "TammyBain" <baint@cityofrochester.gov> wrote:

> I can't find any documentation on assign statements with
> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?


Is this for historical interest?

Back in the days when this actually meant something, I used to keep clone of the
various assign statements I wanted to use, and then copied them in to the new
programs. I'm glad that this is no longer necessary.
Chuck Stevens

2004-12-23, 3:55 pm


"Robert Wagner" <spamblocker-robert@wagner.net> wrote in message
news:137ks05k9jnticqq4qihfq5obkmlri1lam@
4ax.com...

> Device-specific assignments are obsolete. Nowadays, ASSIGN statements
> take three forms:
>
> 1. SELECT file ASSIGN TO '/path/file'
>
> 2. SELECT file ASSIGN TO data-name (which contains /path/file)
>
> 3. SELECT file ASSIGN TO ddname (environment variable or JCL
> containing /path/file)


Ummm.... In what context? Although exactly *what* a file may be assigned
to is still defined by the implementor, ISO/IEC 1989:2002 specifically
changed the terminology for the non-literal case from "implementor-name-1"
to "device-name".

While IBM may have favored such intutively-clear device-names as
"SYS00C-UR-2540R-S" at one time, Unisys MCP-based systems have gone more
toward such unfathomable mnemonics as "READER" and "DISK" in this context,
believing that more specific assignation than that is rightly more the
purview of the operating environment than of the COBOL program itself.

-Chuck Stevens


Binyamin Dissen

2004-12-23, 8:55 pm

On Thu, 23 Dec 2004 22:00:38 +1300 "Pete Dashwood" <dashwood@enternet.co.nz>
wrote:

:>"TammyBain" <baint@cityofrochester.gov> wrote in message
:> news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com...
:>> I can't find any documentation on assign statements with
:>> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?

:>The UT stands for "Utility". In the very olden days, before disks were
:>invented and freely available, this was tape. Later, replaced by disk
:>drives, these "utility" devices were available for any kind of storage
:>requirement. The UT was not about a physical device, it was about the
:>logical use of a physical device, i.e. as a "Utility".

More precisely it defined a device that could be "rewound" and reprocessed,
but could not be processed by block number.

UR defined a device that could not be re-processed.

DA added the ability to randomly access blocks.

In Ye Olde Days the DCB (file descriptor) for a device will less capability
used less memory.

--
Binyamin Dissen <bdissen@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
Howard Brazee

2004-12-23, 8:55 pm

I liked the first time I worked on a VAX, discovering that I could either put
the file name in the ASSIGN clause, or have it redirected by DCL. The COBOL
didn't care what the file looked like anyway, that was the operating system's
business.

This was before PCs.
Lueko Willms

2004-12-23, 8:55 pm

.. On 23.12.04
wrote charles.stevens@unisys.com (Chuck Stevens)
on /COMP/LANG/COBOL
in cqet70$1v83$1@si05.rsvl.unisys.com
about Re: COBOL


CS> While IBM may have favored such intutively-clear device-names as
CS> "SYS00C-UR-2540R-S" at one time, Unisys MCP-based systems have gone
CS> more toward such unfathomable mnemonics as "READER" and "DISK" in
CS> this context, believing that more specific assignation than that is
CS> rightly more the purview of the operating environment than of the
CS> COBOL program itself.


Similar on the OS/2200 side -- there were three standard devices:
CARDREADER, CARDPUNCH and PRINTER, similar to UNIX' so popular SYSIN,
SYSOUT and SYSERR. Then of course, DISC and TAPE, with a second name
referring to the name actually used in the runstream, i.e. job.


Yours,
Lüko Willms http://www.willms-edv.de
/--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --

Es gibt eine wahre und eine förmliche Orthographie. -G.C.Lichtenberg
Chuck Stevens

2004-12-23, 8:55 pm

On the MCP side, you'd do something like "SELECT BLIVET ASSIGN TO READER" in
the program.

In the WFL job running the program you ccan do something like
"RUN <object-program-name>; FILE BLIVET (KIND=DISK)".
You can use the ancient VALUE OF in the FD of the program like
"VALUE OF KIND IS VALUE (DISK)".
In the Procedure Division, you can do
"CHANGE ATTRIBUTE KIND OF BLIVET TO VALUE (DISK)"
In the compilation of the program, this permanently overrides the device
assignment:
"COMPILE <object-program-name> .... FILE BLIVET (KIND=DISK); ..."
(to modify the *compiler's* file you precede the keyword FILE with
COMPILER)
After the program's compiled you can also change it permanently by:
"WFL MODIFY <object-program-name> FILE BLIVET (KIND=DISK);"

The "handle" by which the file is known to the system is the name by which
it was declared in the program -- in this instance "BLIVET". That "handle"
is itself a file attribute, INTNAME, subject to the same set of mechanisms;
the externally-visible name can thus be changed to be different from what's
used in the program, to no particular ill effect.

-Chuck Stevens

"Lueko Willms" <l.willms@jpberlin.de> wrote in message
news:9NP2iZw9flB@jpberlin-l.willms.jpberlin.de...
> . On 23.12.04
> wrote charles.stevens@unisys.com (Chuck Stevens)
> on /COMP/LANG/COBOL
> in cqet70$1v83$1@si05.rsvl.unisys.com
> about Re: COBOL
>
>
> CS> While IBM may have favored such intutively-clear device-names as
> CS> "SYS00C-UR-2540R-S" at one time, Unisys MCP-based systems have gone
> CS> more toward such unfathomable mnemonics as "READER" and "DISK" in
> CS> this context, believing that more specific assignation than that is
> CS> rightly more the purview of the operating environment than of the
> CS> COBOL program itself.
>
>
> Similar on the OS/2200 side -- there were three standard devices:
> CARDREADER, CARDPUNCH and PRINTER, similar to UNIX' so popular SYSIN,
> SYSOUT and SYSERR. Then of course, DISC and TAPE, with a second name
> referring to the name actually used in the runstream, i.e. job.
>
>
> Yours,
> Lüko Willms http://www.willms-edv.de
> /--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --
>
> Es gibt eine wahre und eine förmliche Orthographie. -G.C.Lichtenberg



Pete Dashwood

2004-12-24, 3:55 am


"Chuck Stevens" <charles.stevens@unisys.com> wrote in message
news:cqet70$1v83$1@si05.rsvl.unisys.com...
>
> "Robert Wagner" <spamblocker-robert@wagner.net> wrote in message
> news:137ks05k9jnticqq4qihfq5obkmlri1lam@
4ax.com...
>
>
> Ummm.... In what context? Although exactly *what* a file may be assigned
> to is still defined by the implementor, ISO/IEC 1989:2002 specifically
> changed the terminology for the non-literal case from "implementor-name-1"
> to "device-name".
>
> While IBM may have favored such intutively-clear device-names as
> "SYS00C-UR-2540R-S" at one time, Unisys MCP-based systems have gone more
> toward such unfathomable mnemonics as "READER" and "DISK" in this context,
> believing that more specific assignation than that is rightly more the
> purview of the operating environment than of the COBOL program itself.
>

"SYS00C-UR-2540R-S"... I recognize immediately as an IBM unit record
device, 2540 80 column card reader without punch capability, assigned to
slot 12 on the "slow peripherals" bus.

"READER" ...Now what the Hell does THAT mean? Paper tape, punched cards,
OCR, guy in the Library? What?! <G>

Pete.




Pete Dashwood

2004-12-24, 3:55 am


"Binyamin Dissen" <postingid@dissensoftware.com> wrote in message
news:8g8ms0hc7eahork2f468m4p1qp6nm05np1@
4ax.com...
> On Thu, 23 Dec 2004 22:00:38 +1300 "Pete Dashwood"

<dashwood@enternet.co.nz>
> wrote:
>
> :>"TammyBain" <baint@cityofrochester.gov> wrote in message
>

:> news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com..
..
> :>> I can't find any documentation on assign statements with
> :>> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?
>
> :>The UT stands for "Utility". In the very olden days, before disks were
> :>invented and freely available, this was tape. Later, replaced by disk
> :>drives, these "utility" devices were available for any kind of storage
> :>requirement. The UT was not about a physical device, it was about the
> :>logical use of a physical device, i.e. as a "Utility".
>
> More precisely it defined a device that could be "rewound" and

reprocessed,
> but could not be processed by block number.
>

Thanks for that, Binyamin. I never made that connection before. I remember
an engineer explaining the meaning of "utility" to me (I was always ahanging
round them trying to borrow manuals). I'm sure you're right. Where did you
come across this, or did you just recognise that that's how it is/was?

Pete.

> UR defined a device that could not be re-processed.
>
> DA added the ability to randomly access blocks.
>
> In Ye Olde Days the DCB (file descriptor) for a device will less

capability
> used less memory.
>
> --
> Binyamin Dissen <bdissen@dissensoftware.com>
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>
>
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
>
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.
>




docdwarf@panix.com

2004-12-24, 8:55 am

In article <331orsF3sn49mU1@individual.net>,
Pete Dashwood <dashwood@enternet.co.nz> wrote:
>
>"Chuck Stevens" <charles.stevens@unisys.com> wrote in message
>news:cqet70$1v83$1@si05.rsvl.unisys.com...


[snip]

>"SYS00C-UR-2540R-S"... I recognize immediately as an IBM unit record
>device, 2540 80 column card reader without punch capability, assigned to
>slot 12 on the "slow peripherals" bus.
>
>"READER" ...Now what the Hell does THAT mean? Paper tape, punched cards,
>OCR, guy in the Library? What?! <G>


Meaning is the result of interpretation, Mr Dashwood... but it might help
to demonstrate that 'obvious is in the mind of the beholder'.

DD

Lueko Willms

2004-12-24, 8:55 am

.. On 24.12.04
wrote dashwood@enternet.co.nz (Pete Dashwood)
on /COMP/LANG/COBOL
in 331orsF3sn49mU1@individual.net
about Re: COBOL


PD> "READER" ...Now what the Hell does THAT mean? Paper tape, punched
PD> cards, OCR, guy in the Library? What?! <G>

Translate it to SYSIN.

Usable in the good olde dayse both for punched cards as well as
punched tape.


Yours,
Lüko Willms http://www.willms-edv.de
/--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --

Das Buch, das in der Welt am ehesten verboten zu werden verdiente, wäre ein Katalogus von verbotenen Büchern. -G.C.Lichtenberg
Pete Dashwood

2004-12-24, 8:55 am


<docdwarf@panix.com> wrote in message news:cqgivp$5iv$1@panix5.panix.com...
> In article <331orsF3sn49mU1@individual.net>,
> Pete Dashwood <dashwood@enternet.co.nz> wrote:
>
> [snip]
>
more[color=darkred]
context,[color=darkred]
>
> Meaning is the result of interpretation, Mr Dashwood... but it might help
> to demonstrate that 'obvious is in the mind of the beholder'.
>

(Precisely my point, Your Majesty <G>. Though when spelled out it kinda
loses subtlety...<G> )

No idea what I'm doing here on Xmas Eve. Stopped to collect some mail and
sudde
nly I'm in CLC... I need another drink... Best wishes to all - Oh...and
confusion to your enemies, Sire....

Pete (or someone very like him....)



Binyamin Dissen

2004-12-24, 3:55 pm

On Fri, 24 Dec 2004 18:51:48 +1300 "Pete Dashwood" <dashwood@enternet.co.nz>
wrote:

:>"Binyamin Dissen" <postingid@dissensoftware.com> wrote in message
:> news:8g8ms0hc7eahork2f468m4p1qp6nm05np1@
4ax.com...
:>> On Thu, 23 Dec 2004 22:00:38 +1300 "Pete Dashwood"
:><dashwood@enternet.co.nz>
:>> wrote:

:>> :>"TammyBain" <baint@cityofrochester.gov> wrote in message

:>:> news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com..
:>.
:>> :>> I can't find any documentation on assign statements with
:>> :>> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?

:>> :>The UT stands for "Utility". In the very olden days, before disks were
:>> :>invented and freely available, this was tape. Later, replaced by disk
:>> :>drives, these "utility" devices were available for any kind of storage
:>> :>requirement. The UT was not about a physical device, it was about the
:>> :>logical use of a physical device, i.e. as a "Utility".

:>> More precisely it defined a device that could be "rewound" and
:>reprocessed,
:>> but could not be processed by block number.

:>Thanks for that, Binyamin. I never made that connection before. I remember
:>an engineer explaining the meaning of "utility" to me (I was always ahanging
:>round them trying to borrow manuals). I'm sure you're right. Where did you
:>come across this, or did you just recognise that that's how it is/was?

Being mumble years old, I recognized it.

:>> UR defined a device that could not be re-processed.

:>> DA added the ability to randomly access blocks.

:>> In Ye Olde Days the DCB (file descriptor) for a device will less
:>capability
:>> used less memory.

--
Binyamin Dissen <bdissen@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
docdwarf@panix.com

2004-12-25, 3:55 pm

In article <3328vsF3svptkU1@individual.net>,
Pete Dashwood <dashwood@enternet.co.nz> wrote:
>
><docdwarf@panix.com> wrote in message news:cqgivp$5iv$1@panix5.panix.com...

[snip]
[color=darkred]
>(Precisely my point, Your Majesty <G>. Though when spelled out it kinda
>loses subtlety...<G> )


Provision, at times, might need to be made for even the least of Our
subjects, Mr Dashwood... hence, for now, Our intended lack of finesse.

>
>No idea what I'm doing here on Xmas Eve. Stopped to collect some mail and
>sudde
>nly I'm in CLC... I need another drink... Best wishes to all - Oh...and
>confusion to your enemies, Sire....


As the song of the season has it, Mr Dashwood, We wish you a Merry
Christmas... and best wishes, for all here, for a sweet, happy, healthy
and prosperous New Year, for them and theirs.

L Silberstein, A'83
William M. Klein

2004-12-28, 3:55 pm

You don't tell us

- COMPILER (release, version, and vendor)

- Operating system (e.g. VSE, MVS, z/OS, Windows, whatever)

- What YOUR compiler vendor's documentation (LRM) says for the "Select/Assign
clause).

***

However, for IBM mainframes the bottom-line is that UT-xxxx is a feature from
VERY old (long unsupported) compilers that is IGNORED (treated as a comment) in
all currently supported compilers.


--
Bill Klein
wmklein <at> ix.netcom.com
"TammyBain" <baint@cityofrochester.gov> wrote in message
news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com...
>I can't find any documentation on assign statements with
> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?
>



Donald Tees

2004-12-28, 3:55 pm

Donald Tees wrote:
> Robert Wagner wrote:
>
>
>
> "PRN".
>
> Donald
>
>


Not to mention standard-in and standard-out, though I suppose they are
really "JCL names". Maybe printers are as well. Depends on how you look
at it. What is the context TamyBain? Platform and compiler?

Donald



Chuck Stevens

2004-12-28, 3:55 pm

On the MCP side, you'd do something like "SELECT BLIVET ASSIGN TO READER" in
the program.

In the WFL job running the program you ccan do something like
"RUN <object-program-name>; FILE BLIVET (KIND=DISK)".
You can use the ancient VALUE OF in the FD of the program like
"VALUE OF KIND IS VALUE (DISK)".
In the Procedure Division, you can do
"CHANGE ATTRIBUTE KIND OF BLIVET TO VALUE (DISK)"
In the compilation of the program, this permanently overrides the device
assignment:
"COMPILE <object-program-name> .... FILE BLIVET (KIND=DISK); ..."
(to modify the *compiler's* file you precede the keyword FILE with
COMPILER)
After the program's compiled you can also change it permanently by:
"WFL MODIFY <object-program-name> FILE BLIVET (KIND=DISK);"

The "handle" by which the file is known to the system is the name by which
it was declared in the program -- in this instance "BLIVET". That "handle"
is itself a file attribute, INTNAME, subject to the same set of mechanisms;
the externally-visible name can thus be changed to be different from what's
used in the program, to no particular ill effect.

-Chuck Stevens

"Lueko Willms" <l.willms@jpberlin.de> wrote in message
news:9NP2iZw9flB@jpberlin-l.willms.jpberlin.de...
> . On 23.12.04
> wrote charles.stevens@unisys.com (Chuck Stevens)
> on /COMP/LANG/COBOL
> in cqet70$1v83$1@si05.rsvl.unisys.com
> about Re: COBOL
>
>
> CS> While IBM may have favored such intutively-clear device-names as
> CS> "SYS00C-UR-2540R-S" at one time, Unisys MCP-based systems have gone
> CS> more toward such unfathomable mnemonics as "READER" and "DISK" in
> CS> this context, believing that more specific assignation than that is
> CS> rightly more the purview of the operating environment than of the
> CS> COBOL program itself.
>
>
> Similar on the OS/2200 side -- there were three standard devices:
> CARDREADER, CARDPUNCH and PRINTER, similar to UNIX' so popular SYSIN,
> SYSOUT and SYSERR. Then of course, DISC and TAPE, with a second name
> referring to the name actually used in the runstream, i.e. job.
>
>
> Yours,
> Lüko Willms http://www.willms-edv.de
> /--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --
>
> Es gibt eine wahre und eine förmliche Orthographie. -G.C.Lichtenberg



Pete Dashwood

2004-12-28, 3:55 pm


"Binyamin Dissen" <postingid@dissensoftware.com> wrote in message
news:8g8ms0hc7eahork2f468m4p1qp6nm05np1@
4ax.com...
> On Thu, 23 Dec 2004 22:00:38 +1300 "Pete Dashwood"

<dashwood@enternet.co.nz>
> wrote:
>
> :>"TammyBain" <baint@cityofrochester.gov> wrote in message
>

:> news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com..
..
> :>> I can't find any documentation on assign statements with
> :>> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?
>
> :>The UT stands for "Utility". In the very olden days, before disks were
> :>invented and freely available, this was tape. Later, replaced by disk
> :>drives, these "utility" devices were available for any kind of storage
> :>requirement. The UT was not about a physical device, it was about the
> :>logical use of a physical device, i.e. as a "Utility".
>
> More precisely it defined a device that could be "rewound" and

reprocessed,
> but could not be processed by block number.
>

Thanks for that, Binyamin. I never made that connection before. I remember
an engineer explaining the meaning of "utility" to me (I was always ahanging
round them trying to borrow manuals). I'm sure you're right. Where did you
come across this, or did you just recognise that that's how it is/was?

Pete.

> UR defined a device that could not be re-processed.
>
> DA added the ability to randomly access blocks.
>
> In Ye Olde Days the DCB (file descriptor) for a device will less

capability
> used less memory.
>
> --
> Binyamin Dissen <bdissen@dissensoftware.com>
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>
>
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
>
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.
>




Pete Dashwood

2004-12-28, 3:55 pm


"Chuck Stevens" <charles.stevens@unisys.com> wrote in message
news:cqet70$1v83$1@si05.rsvl.unisys.com...
>
> "Robert Wagner" <spamblocker-robert@wagner.net> wrote in message
> news:137ks05k9jnticqq4qihfq5obkmlri1lam@
4ax.com...
>
>
> Ummm.... In what context? Although exactly *what* a file may be assigned
> to is still defined by the implementor, ISO/IEC 1989:2002 specifically
> changed the terminology for the non-literal case from "implementor-name-1"
> to "device-name".
>
> While IBM may have favored such intutively-clear device-names as
> "SYS00C-UR-2540R-S" at one time, Unisys MCP-based systems have gone more
> toward such unfathomable mnemonics as "READER" and "DISK" in this context,
> believing that more specific assignation than that is rightly more the
> purview of the operating environment than of the COBOL program itself.
>

"SYS00C-UR-2540R-S"... I recognize immediately as an IBM unit record
device, 2540 80 column card reader without punch capability, assigned to
slot 12 on the "slow peripherals" bus.

"READER" ...Now what the Hell does THAT mean? Paper tape, punched cards,
OCR, guy in the Library? What?! <G>

Pete.




Pete Dashwood

2004-12-28, 3:55 pm


<docdwarf@panix.com> wrote in message news:cqgivp$5iv$1@panix5.panix.com...
> In article <331orsF3sn49mU1@individual.net>,
> Pete Dashwood <dashwood@enternet.co.nz> wrote:
>
> [snip]
>
more[color=darkred]
context,[color=darkred]
>
> Meaning is the result of interpretation, Mr Dashwood... but it might help
> to demonstrate that 'obvious is in the mind of the beholder'.
>

(Precisely my point, Your Majesty <G>. Though when spelled out it kinda
loses subtlety...<G> )

No idea what I'm doing here on Xmas Eve. Stopped to collect some mail and
sudde
nly I'm in CLC... I need another drink... Best wishes to all - Oh...and
confusion to your enemies, Sire....

Pete (or someone very like him....)



Binyamin Dissen

2004-12-28, 3:55 pm

On Fri, 24 Dec 2004 18:51:48 +1300 "Pete Dashwood" <dashwood@enternet.co.nz>
wrote:

:>"Binyamin Dissen" <postingid@dissensoftware.com> wrote in message
:> news:8g8ms0hc7eahork2f468m4p1qp6nm05np1@
4ax.com...
:>> On Thu, 23 Dec 2004 22:00:38 +1300 "Pete Dashwood"
:><dashwood@enternet.co.nz>
:>> wrote:

:>> :>"TammyBain" <baint@cityofrochester.gov> wrote in message

:>:> news:781a5bf97064111bb1fb057deb0cb1a0@lo
calhost.talkaboutprogramming.com..
:>.
:>> :>> I can't find any documentation on assign statements with
:>> :>> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?

:>> :>The UT stands for "Utility". In the very olden days, before disks were
:>> :>invented and freely available, this was tape. Later, replaced by disk
:>> :>drives, these "utility" devices were available for any kind of storage
:>> :>requirement. The UT was not about a physical device, it was about the
:>> :>logical use of a physical device, i.e. as a "Utility".

:>> More precisely it defined a device that could be "rewound" and
:>reprocessed,
:>> but could not be processed by block number.

:>Thanks for that, Binyamin. I never made that connection before. I remember
:>an engineer explaining the meaning of "utility" to me (I was always ahanging
:>round them trying to borrow manuals). I'm sure you're right. Where did you
:>come across this, or did you just recognise that that's how it is/was?

Being mumble years old, I recognized it.

:>> UR defined a device that could not be re-processed.

:>> DA added the ability to randomly access blocks.

:>> In Ye Olde Days the DCB (file descriptor) for a device will less
:>capability
:>> used less memory.

--
Binyamin Dissen <bdissen@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
Howard Brazee

2004-12-29, 3:55 pm


On 22-Dec-2004, "TammyBain" <baint@cityofrochester.gov> wrote:

> I can't find any documentation on assign statements with
> -UT- in them. Does the 'UT' stand for Unit Tape or Utility Tape?


Is this for historical interest?

Back in the days when this actually meant something, I used to keep clone of the
various assign statements I wanted to use, and then copied them in to the new
programs. I'm glad that this is no longer necessary.
Chuck Stevens

2005-01-04, 3:55 pm


"Lueko Willms" <l.willms@jpberlin.de> wrote in message
news:9NT5F9LPflB@jpberlin-l.willms.jpberlin.de...
> . On 24.12.04
> wrote dashwood@enternet.co.nz (Pete Dashwood)
> on /COMP/LANG/COBOL
> in 331orsF3sn49mU1@individual.net
> about Re: COBOL
>
>
> PD> "READER" ...Now what the Hell does THAT mean? Paper tape, punched
> PD> cards, OCR, guy in the Library? What?! <G>
>
> Translate it to SYSIN.
>
> Usable in the good olde dayse both for punched cards as well as
> punched tape.


Actually, B6500 COBOL(60) had CARD-READER with READER as a synonym; it also
had PAPER-TAPE-READER. Paper tape devices were apparently dropped very
early in the history of the B6700; COBOL(68) has no SELECT syntax for them,
though it continued to allow CARD-READER and CARD-PUNCH. By the time
COBOL74 rolled around the SELECTable devices had been pared down to just
seven (DISK, TAPE, READER, PUNCH, PRINTER, REMOTE and PORT) with any and
all refinements beyond that handled programmatically either by VALUE OF
extensions in the FD or CHANGE ATTRIBUTE statements in the Procedure
DIVISION, or externally by WFL file equations, at compile time, at execution
time, or through WFL MODIFY statements against the object code file itself.

For sequential files, there are only a few edge cases in which the object
code for the I/O statements differs anyway; the system's had almost entirely
device-independent I/O for a very, very long time. A program with a READER
file will operate just fine if you reassign it to an extant file on TAPE or
DISK, or even an available REMOTE or PORT file. If you try something
inappropriate like attempt to OPEN a file INPUT when it's actually assigned
to a printer or printer-backup device, or OUTPUT when it's actually assigned
to READER (which these days is actually a file in the WFL stream; we no
longer support physical card devices), most likely you'll get your knuckles
rapped at execution time.

-Chuck Stevens


Chuck Stevens

2005-01-06, 8:55 pm


"Lueko Willms" <l.willms@jpberlin.de> wrote in message
news:9NT5F9LPflB@jpberlin-l.willms.jpberlin.de...
> . On 24.12.04
> wrote dashwood@enternet.co.nz (Pete Dashwood)
> on /COMP/LANG/COBOL
> in 331orsF3sn49mU1@individual.net
> about Re: COBOL
>
>
> PD> "READER" ...Now what the Hell does THAT mean? Paper tape, punched
> PD> cards, OCR, guy in the Library? What?! <G>
>
> Translate it to SYSIN.
>
> Usable in the good olde dayse both for punched cards as well as
> punched tape.


Actually, B6500 COBOL(60) had CARD-READER with READER as a synonym; it also
had PAPER-TAPE-READER. Paper tape devices were apparently dropped very
early in the history of the B6700; COBOL(68) has no SELECT syntax for them,
though it continued to allow CARD-READER and CARD-PUNCH. By the time
COBOL74 rolled around the SELECTable devices had been pared down to just
seven (DISK, TAPE, READER, PUNCH, PRINTER, REMOTE and PORT) with any and
all refinements beyond that handled programmatically either by VALUE OF
extensions in the FD or CHANGE ATTRIBUTE statements in the Procedure
DIVISION, or externally by WFL file equations, at compile time, at execution
time, or through WFL MODIFY statements against the object code file itself.

For sequential files, there are only a few edge cases in which the object
code for the I/O statements differs anyway; the system's had almost entirely
device-independent I/O for a very, very long time. A program with a READER
file will operate just fine if you reassign it to an extant file on TAPE or
DISK, or even an available REMOTE or PORT file. If you try something
inappropriate like attempt to OPEN a file INPUT when it's actually assigned
to a printer or printer-backup device, or OUTPUT when it's actually assigned
to READER (which these days is actually a file in the WFL stream; we no
longer support physical card devices), most likely you'll get your knuckles
rapped at execution time.

-Chuck Stevens


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com