Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UPDDTA Does Not Allow Key Change

83 views
Skip to first unread message

Walter Bennett

unread,
Jun 19, 2001, 2:29:07 PM6/19/01
to
We have a customer where I use UPDDTA to create a temporary DFU. When I do
this anywhere else I can change any field I wish. At this customer the key
fields are protected.

Does anybody know how they did this and what I can do about it?

Thanks.

- Walt B.


Chipper Miller

unread,
Jun 19, 2001, 4:02:37 PM6/19/01
to
If there is a logical over the file, use upddta with the lf. HTH

Walter Bennett <wj...@worldnet.att.net> wrote in message
news:TRMX6.100$C81....@bgtnsc04-news.ops.worldnet.att.net...

Walter Bennett

unread,
Jun 19, 2001, 4:37:39 PM6/19/01
to
I did.

When I refer to the keys being protected, I am referring to the fields
defined as key fields in the LF dds.

- Walt

Chipper Miller <Chi...@MailOps.com> wrote in message
news:9goar4$pgl$1...@news.jump.net...

Reeve Fritchman

unread,
Jun 19, 2001, 7:06:27 PM6/19/01
to
Yes, they used CHGDTA (which can create a permanent application). UPDDTA is
a quick and dirty; key changes are not supported (IMHO) for obvious reasons!

"Walter Bennett" <wj...@worldnet.att.net> wrote in message
news:TRMX6.100$C81....@bgtnsc04-news.ops.worldnet.att.net...

Jim Thedorf

unread,
Jun 19, 2001, 9:09:47 PM6/19/01
to
Create a DFU program (STRDFU option 2) that will allow the CHGDTA to be run.
In the DFU program you can turn the ability to change keys off and on.


Jim Thedorf

"Walter Bennett" <wj...@worldnet.att.net> wrote in message

news:nKOX6.730$3d3....@bgtnsc05-news.ops.worldnet.att.net...

Gary Guthrie

unread,
Jun 19, 2001, 10:35:16 PM6/19/01
to
Temporary DFUs take on several of the attributes from the last DFU you
created. The ability to change keys is one such attribute.

Therefore, create a dummy DFU program (StrDFU 2) over any keyed file and
in it specify that key changes are allowed. Save the DFU and then just
delete it.

When you run UpdDta now, you'll be able to change keys for any of your
keyed files.

Gary Guthrie
Technical Editor, NEWS/400 Magazine

Walter Bennett

unread,
Jun 20, 2001, 10:46:34 AM6/20/01
to
Gary,

Thanks! You win the prize for being the only one who truly understood my
question <g>.

- Walt

Gary Guthrie <GaryG...@home.com> wrote in message
news:3B300BB5...@home.com...

Gary Guthrie

unread,
Jun 20, 2001, 11:37:29 AM6/20/01
to
Walt,

Quite goofy behavior, huh?

Gary Guthrie

Walter Bennett

unread,
Jun 20, 2001, 1:56:42 PM6/20/01
to
Gary,

As well as a real "whodathunkit?" <g>

Thanks again.
- Walt

Gary Guthrie <GaryG...@home.com> wrote in message

news:3B30C30B...@home.com...

Jeff

unread,
Jun 22, 2001, 5:00:37 PM6/22/01
to
Gary Guthrie wrote:

> Walt,
>
> Quite goofy behavior, huh?

Gary,
Are you referring your behavior or DFU's?
:-)

Jeff

PS: Isn't it eerie that Gary always seems to have the answer? He should write a
book. Oh, wait a minute, he has! It should be required reading.

Gary Guthrie

unread,
Jun 25, 2001, 10:09:44 AM6/25/01
to
Well, Jeff, it is within the realm of possibility that my behavior could
be considered goofy, I suppose!

Gary

0 new messages