HP3000-L Archives

January 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Eric Kundl <[log in to unmask]>
Reply To:
Eric Kundl <[log in to unmask]>
Date:
Mon, 19 Jan 1998 22:12:40 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Gary,
i do it this way:
01  CarriageReturn  pic x(01) value %15.               <octal 15 is decimal
13 = return>
01  LineFeed            pic x(01) value %12.               <octal 12 is
decimal 10 = linefeed>

01  IRSrecord.
     05  <a bunch of stuff>  pic x(418).
     05  IRS-CR                   pic x(01).
     05  IRS-LF                    pic x(01).

move CarriageReturn to IRS-CR
move LineFeed           to IRS-LF

or you could just put the 'value' statements on the IRSrecord variable
directly.


--
eric kundl
[log in to unmask]
GaryJay1 wrote in message <[log in to unmask]>...
>We have been submitting our 1099 data to the IRS using mag tape for several
>years. My boss now wants to start sending a floppy disk. The IRS Mag. Media
>manual says that for diskettes, they need a CR in position 419 and LF in
420.
>We are using an HP 3000 using COBOL 85. Does anyone know how this can be
done?
>
>Thanks!
>
>Gary

ATOM RSS1 RSS2