HP3000-L Archives

August 2001, 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:
Paul Gobes <[log in to unmask]>
Reply To:
Paul Gobes <[log in to unmask]>
Date:
Fri, 17 Aug 2001 14:31:19 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
OK, I'm wrong for a 2nd time today!

It's time to actually create an example:

Here's a file with one field, X4, leading spaces:

>fo data
    File: DATA.PAUL.TECHSUP     (SD Version B.00.00)
       Entry:                     Offset
          X4                   X4      1
    Limit: 3  EOF: 3  Entry Length: 4  Blocking: 64
>in data;o*;x
  23
   5
 123
IN=3, OUT=3. CPU-Sec=1. Wall-Sec=1.

Now define a new DISPLAY field and perform and arithmetic
operation on it, so that Suprtool actually zero fills the field:

>in data
>def z4,1,4,display
>ext z4 = z4 * 1
>out data2
>x
Warning:  Using Output DATA2,Link
IN=3, OUT=3. CPU-Sec=1. Wall-Sec=1.


Now let's look at the file, and what the data looks like now:

>fo data2
    File: DATA2.PAUL.TECHSUP     (SD Version B.00.00)
       Entry:                     Offset
          Z4                   Z4      1
    Limit: 3  EOF: 3  Entry Length: 4  Blocking: 64
>in data2;o*;x
0023
0005
0123
IN=3, OUT=3. CPU-Sec=1. Wall-Sec=1.


Sorry for the misleading previous posts.

/paul

-----------------------------------------
Paul Gobes, Technical Support Mgr.
Robelle Solutions Technology Inc.
888 ROBELLE (762-3553)  or 1-604-582-1700
[log in to unmask]   fax: 1-604-582-1799

-----------------------------------------

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2