× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Question on Cobol (Unix) file layouts...
  • From: Howard Weatherly <hweatherly@xxxxxxxxxxxx>
  • Date: Mon, 22 Feb 1999 08:59:03 -0500
  • Organization: Computer Task Group

Jon, 

I must disagree with you on this, COBOL most certainly has a USAGE
clause and has since it's inception. The degree to which it is used and
it's value is questionable however, but if you specify USAGE is (see
COBOL manual for optons) at a group level then that usage applies to all
subfields defined in that group. You can specify USAGE at the elementry
level and it will apply only to that item. Any time you specify COMP,
COMP-3 etc... you are implicitly specifying the "USAGE" clause and
explicitly defining the way the data is stored (looks) in storage.

"""Note, this in no way refutes the intent of Jons message, only the
COBOL part."""

Jon.Paris@halinfo.it wrote:
> 
> This is just standard COBOL Chuck - nothing Unixy about it.
> 
> The V is an implied decimal point therefore 9(5)V99 is equivalent to a 7,2
> and needs to be defined that way.  Because they have no usage clause
> defining the format ( a COMP or COMPUTATIONAL-3 for example) then they are
> implicitly USAGE DISPLAY which is equivalent to 7S 2 in RPG terms.
> 
> If you have any other COBOL ?s I'd be happy to try answer them - I'm
> bilingual !!
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

-- 
____________________________________________________________

Howard Weatherly

(616)961-4324

hweatherly@dlis.dla.mil
hweath@ibm.net
howard_weatherly@ctg.com
begin:vcard 
n:Weatherly;Howard
tel;pager:(800)691-7499
tel;cell:(616)260-6796
tel;fax:(616)961-7091
tel;home:(616)979-8739
tel;work:(616)961-4324
x-mozilla-html:TRUE
org:Computer Task Group / Battle Creek Federal Ctr.
adr:;;74 N. Washington;Battle Creek ;Michigan;49017;US
version:2.1
email;internet:hweatherly@dlis.dla.mil
title:Sr. Software Engineer.
x-mozilla-cpt:;0
fn:Howard Weatherly
end:vcard

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.