HP3000-L Archives

November 2005, Week 2

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:
"Newton, Ernie" <[log in to unmask]>
Reply To:
Newton, Ernie
Date:
Tue, 8 Nov 2005 12:38:50 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (77 lines)
Thank you Ray, and Thank you Neil.

My first attempt failed, due to one item being alphanumeric and the
other item being numeric.  After redefining the alphanumeric to 
a type DISPLAY, (IMAGE "Z" type), it worked flawlessly and saved
an end-user from a lot of tedious data entry.

Ernie

-----Original Message-----
From: Shahan, Ray [mailto:[log in to unmask]] 
Sent: Tuesday, November 08, 2005 11:38 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] Suprtool question


Yes, Ernie, you can update from a table.  The option you need is the
DATA option on the TBALS statement.  There is a very good example in the
SUPRTOOL help (se the EXTRACT command help).


HTH,


Ray Shahan

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Newton, Ernie
Sent: Tuesday, November 08, 2005 1:33 PM
To: [log in to unmask]
Subject: [HP3000-L] Suprtool question

Greetings,

Can you update an item in a dataset with a value in a table?

I have a table called Widgets, that looks like this...

WIDGET-NUMBER <KEY FIELD>
WIDGET-COLOR

I have a dataset called WIDGET-TYPES, that looks like this...

WIDGET-NUMBER <KEY FIELD>
WIDGET-TYPES

I want to do this...

GET WIDGET-TYPES
IF $LOOKUP(WIDGETS,WIDGET-NUMBER)
UPDATE
EXT WIDGET-TYPES=WIDGET-COLOR

I then get this error...

Error:  Item "WIDGET-COLOR" not in the dataset WIDGET-TYPES

Is there a way to do what I'm trying to do?

Thanks,

Ernie

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
========================================================================
This e-mail message has been scanned for Viruses and Content and cleared

by School Specialty's email filtering solution.

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

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

ATOM RSS1 RSS2