Impacts of modifying record structures
Witkopp, Richard
Richard.Witkopp@idt.com
Mon, 23 Jul 2001 15:05:05 -0700
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C113C3.87884610
Content-Type: text/plain;
charset="iso-8859-1"
If all it is doing is counting the elements, you may want to make a few
extras to avoid this hassle in the future.
e.g. instead of a single FILLER length 10, make a FILLER length 5 and 5
more with a length of 1.
-----Original Message-----
From: Aikens, Curtis [mailto:CAikens@dairyworld.com]
Sent: Monday, July 23, 2001 2:27 PM
To: powerhouse
Subject: RE: Impacts of modifying record structures
Nope - it's the actual number of elements within the record structure that
has changed. A recompilation is pretty well unavoidable, (as in I haven't
ever found a way around it).
If you find some other approach that works however, make sure you publicize
it. There are a lot of us RMS-types who'd appreciate it!
Curtis Aikens
Information Technologies
Dairyland
(780) 486-8442
-----Original Message-----
From: pablo grim [ mailto:pablow666@gorge.net <mailto:pablow666@gorge.net>
]
Sent: Monday, July 23, 2001 3:28 PM
To: Edis, Bob; powerhouse
Subject: Re: Impacts of modifying record structures
The temp item has not changed.
Calling screen:
TEMP T-NEW-ENTRY CHAR*1 RESET AT STARTUP INIT "N"
Called screen:
TEMP T-NEW-ENTRY CHAR*1
I should mention that I did NOT execute the UNLOAD/CREATE/RELOAD procedure
on the affected record. I don't usually do this unless the index structure
or record length has changed.
p
> From: "Edis, Bob" <bob.edis@fleetpride.com>
> Date: Mon, 23 Jul 2001 16:03:01 -0500
> To: "'powerh-l@list.swau.edu'" <powerh-l@lists.swau.edu>
> Subject: RE: Impacts of modifying record structures
>
> Has the definition for T-NEW-ENTRY changed? How is it declared on each
> screen?
>
> I assume the receiving screen was always a MENU screen.
>
> I tend to agree with a previous poster; you will have to recompile the
> screens that reference this record.
>
> Blue
>
> -----Original Message-----
> From: pablo grim [ mailto:pablow666@gorge.net <mailto:pablow666@gorge.net>
]
> Sent: Monday, July 23, 2001 3:54 PM
> To: Edis, Bob; 'powerh-l@list.swau.edu'
> Subject: Re: Impacts of modifying record structures
>
>
> Sure. Here's a typical example:
>
>
> RUN SCREEN HRS_EXE:HRNK096.QKC MODE SAME PASSING EMPLOYEE-PER, T-NEW-ENTRY
>
> SCREEN HRS_EXE:HRNK096.QKC MENU RECEIVING EMPLOYEE-PER, T-NEW-ENTRY &
> MESSAGE ON 24
>
> I tried the "substructure" approach on the record statement rather than
> shortening the filler field, but I am still getting the same error
message.
>
> Here are the items in question after substructuring. The country code
field
> is the new item. CLIENT-ELEMENT is the filler item:
>
> CLIENT-ELEMENT CHARACTER 40 295
> ..FOREIGN-COUNTRY-CODE CHARACTER 2 295
> DATE-LONGEVITY-LAST INTEGER SIGNED 4 335
>
> The file is indexed sequential RMS.
>
> Is there some way I could do it with a REDEF? I am playing around with
it,
> but it increases the record length...
>
> tx
>
> p
>> From: "Edis, Bob" <bob.edis@fleetpride.com>
>> Date: Mon, 23 Jul 2001 14:54:00 -0500
>> To: "'powerh-l@list.swau.edu'" <powerh-l@lists.swau.edu>
>> Subject: RE: Impacts of modifying record structures
>>
>> Pablo
>>
>> Can we see the subscreen/run screen statements from the calling screen
and
>> the screen statement from the receiving screen please?
>>
>> Regards,
>> Blue
>>
>> -----Original Message-----
>> From: pablo grim [ mailto:pablow666@gorge.net
<mailto:pablow666@gorge.net> ]
>> Sent: Monday, July 23, 2001 2:42 PM
>> To: powerhouse
>> Subject: Impacts of modifying record structures
>>
>>
>> Howdy folks,
>>
>> Ok, I have a record structure called EMPLOYEE-PER that is used in about a
>> zillion programs. The record structure includes "filler" fields for
> future
>> expansion. This is handy to avoid having to recompile everything when
>> adding a new item to the record structure. Simply take some bytes from
> the
>> filler and use them for the new item. Therefore, the record length stays
>> the same. I'm sure most of you have done something similar.
>>
>> Well, I did this, but I'm getting the error:
>>
>> *d* The screen linkage parameters don't agree with local definitions.
>>
>> when I call a subscreen passing the EMPLOYEE-PER record. This is
>> disappointing as it looks like I will have to recompile every subscreen
> that
>> receives this record structure as a parameter (a very significant task).
> I
>> don't remember this happening before when using this old tried and true
>> technique for avoiding recompiles. Is this something new?
>>
>> Does anybody have any suggestions for modifying my record structure
> without
>> having to recompile? All I am trying to do is add a new 2 character
field
>> to the record. The "filler" field that I have shortened is not a
> parameter
>> being passed to the subscreens.
>>
>> VMS 7.1
>> PH 7.10
>> RMS files
>>
>> thanks!
>>
>> p
>>
>> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>> Mailing list: powerh-l@lists.swau.edu
>> Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
>> Unsubscribe: "unsubscribe" in message body to
>> powerh-l-request@lists.swau.edu
>> http://lists.swau.edu/mailman/listinfo/powerh-l
<http://lists.swau.edu/mailman/listinfo/powerh-l>
>> This list is closed, thus to post to the list you must be a subscriber.
>>
>> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>> Mailing list: powerh-l@lists.swau.edu
>> Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
>> Unsubscribe: "unsubscribe" in message body to
> powerh-l-request@lists.swau.edu
>> http://lists.swau.edu/mailman/listinfo/powerh-l
<http://lists.swau.edu/mailman/listinfo/powerh-l>
>> This list is closed, thus to post to the list you must be a subscriber.
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l@lists.swau.edu
> Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
> Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
> http://lists.swau.edu/mailman/listinfo/powerh-l
<http://lists.swau.edu/mailman/listinfo/powerh-l>
> This list is closed, thus to post to the list you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
<http://lists.swau.edu/mailman/listinfo/powerh-l>
This list is closed, thus to post to the list you must be a subscriber.
------_=_NextPart_001_01C113C3.87884610
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: Impacts of modifying record structures</TITLE>
<META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=089520622-23072001>If all
it is doing is counting the elements, you may want to make a
few</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=089520622-23072001>extras
to avoid this hassle in the future.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=089520622-23072001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=089520622-23072001>e.g.
instead of a single FILLER length 10, make a FILLER length 5 and
5</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=089520622-23072001>more
with a length of 1.</SPAN></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Aikens, Curtis
[mailto:CAikens@dairyworld.com]<BR><B>Sent:</B> Monday, July 23, 2001 2:27
PM<BR><B>To:</B> powerhouse<BR><B>Subject:</B> RE: Impacts of modifying record
structures<BR><BR></DIV></FONT>
<P><FONT size=2>Nope - it's the actual number of elements within the record
structure that has changed. A recompilation is pretty well
unavoidable, (as in I haven't ever found a way around it).</FONT></P>
<P><FONT size=2>If you find some other approach that works however, make sure
you publicize it. There are a lot of us RMS-types who'd appreciate
it!</FONT></P><BR>
<P><FONT size=2>Curtis Aikens</FONT> <BR><FONT size=2>Information
Technologies</FONT> <BR><FONT size=2>Dairyland</FONT> <BR><FONT size=2>(780)
486-8442</FONT> </P>
<P><FONT size=2> -----Original Message-----</FONT> <BR><FONT size=2>From:
pablo grim [<A
href="mailto:pablow666@gorge.net">mailto:pablow666@gorge.net</A>]
</FONT><BR><FONT size=2>Sent: Monday, July 23, 2001 3:28 PM</FONT>
<BR><FONT size=2>To: Edis, Bob; powerhouse</FONT>
<BR><FONT size=2>Subject: Re:
Impacts of modifying record structures</FONT> </P>
<P><FONT size=2>The temp item has not changed.</FONT> </P>
<P><FONT size=2>Calling screen:</FONT> </P>
<P><FONT size=2>TEMP
T-NEW-ENTRY
CHAR*1 RESET AT STARTUP INIT "N"</FONT> </P>
<P><FONT size=2>Called screen:</FONT> </P>
<P><FONT size=2>TEMP T-NEW-ENTRY CHAR*1</FONT> </P>
<P><FONT size=2>I should mention that I did NOT execute the
UNLOAD/CREATE/RELOAD procedure</FONT> <BR><FONT size=2>on the affected
record. I don't usually do this unless the index structure</FONT>
<BR><FONT size=2>or record length has changed.</FONT> </P>
<P><FONT size=2>p</FONT> </P><BR><BR><BR>
<P><FONT size=2>> From: "Edis, Bob" <bob.edis@fleetpride.com></FONT>
<BR><FONT size=2>> Date: Mon, 23 Jul 2001 16:03:01 -0500</FONT> <BR><FONT
size=2>> To: "'powerh-l@list.swau.edu'"
<powerh-l@lists.swau.edu></FONT> <BR><FONT size=2>> Subject: RE:
Impacts of modifying record structures</FONT> <BR><FONT size=2>>
</FONT><BR><FONT size=2>> Has the definition for T-NEW-ENTRY
changed? How is it declared on each</FONT> <BR><FONT size=2>>
screen?</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> I assume the
receiving screen was always a MENU screen.</FONT> <BR><FONT size=2>>
</FONT><BR><FONT size=2>> I tend to agree with a previous poster; you will
have to recompile the</FONT> <BR><FONT size=2>> screens that reference this
record.</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> Blue</FONT>
<BR><FONT size=2>> </FONT><BR><FONT size=2>> -----Original
Message-----</FONT> <BR><FONT size=2>> From: pablo grim [<A
href="mailto:pablow666@gorge.net">mailto:pablow666@gorge.net</A>]</FONT>
<BR><FONT size=2>> Sent: Monday, July 23, 2001 3:54 PM</FONT> <BR><FONT
size=2>> To: Edis, Bob; 'powerh-l@list.swau.edu'</FONT> <BR><FONT
size=2>> Subject: Re: Impacts of modifying record structures</FONT>
<BR><FONT size=2>> </FONT><BR><FONT size=2>> </FONT><BR><FONT
size=2>> Sure. Here's a typical example:</FONT> <BR><FONT size=2>>
</FONT><BR><FONT size=2>> </FONT><BR><FONT size=2>> RUN SCREEN
HRS_EXE:HRNK096.QKC MODE SAME PASSING EMPLOYEE-PER, T-NEW-ENTRY</FONT>
<BR><FONT size=2>> </FONT><BR><FONT size=2>> SCREEN
HRS_EXE:HRNK096.QKC MENU RECEIVING EMPLOYEE-PER, T-NEW-ENTRY
&</FONT> <BR><FONT size=2>> MESSAGE ON 24</FONT> <BR><FONT size=2>>
</FONT><BR><FONT size=2>> I tried the "substructure" approach on the record
statement rather than</FONT> <BR><FONT size=2>> shortening the filler
field, but I am still getting the same error message.</FONT> <BR><FONT
size=2>> </FONT><BR><FONT size=2>> Here are the items in question after
substructuring. The country code field</FONT> <BR><FONT size=2>> is
the new item. CLIENT-ELEMENT is the filler item:</FONT> <BR><FONT
size=2>> </FONT><BR><FONT size=2>>
CLIENT-ELEMENT
CHARACTER
40 295</FONT> <BR><FONT
size=2>>
..FOREIGN-COUNTRY-CODE
CHARACTER
2 295</FONT> <BR><FONT
size=2>>
DATE-LONGEVITY-LAST
INTEGER SIGNED
4 335</FONT> <BR><FONT
size=2>> </FONT><BR><FONT size=2>> The file is indexed sequential
RMS.</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> Is there some
way I could do it with a REDEF? I am playing around with it,</FONT>
<BR><FONT size=2>> but it increases the record length...</FONT> <BR><FONT
size=2>> </FONT><BR><FONT size=2>> tx</FONT> <BR><FONT size=2>>
</FONT><BR><FONT size=2>> p</FONT> <BR><FONT size=2>>> From: "Edis,
Bob" <bob.edis@fleetpride.com></FONT> <BR><FONT size=2>>> Date:
Mon, 23 Jul 2001 14:54:00 -0500</FONT> <BR><FONT size=2>>> To:
"'powerh-l@list.swau.edu'" <powerh-l@lists.swau.edu></FONT> <BR><FONT
size=2>>> Subject: RE: Impacts of modifying record structures</FONT>
<BR><FONT size=2>>> </FONT><BR><FONT size=2>>> Pablo</FONT>
<BR><FONT size=2>>> </FONT><BR><FONT size=2>>> Can we see the
subscreen/run screen statements from the calling screen and</FONT> <BR><FONT
size=2>>> the screen statement from the receiving screen please?</FONT>
<BR><FONT size=2>>> </FONT><BR><FONT size=2>>> Regards,</FONT>
<BR><FONT size=2>>> Blue</FONT> <BR><FONT size=2>>>
</FONT><BR><FONT size=2>>> -----Original Message-----</FONT> <BR><FONT
size=2>>> From: pablo grim [<A
href="mailto:pablow666@gorge.net">mailto:pablow666@gorge.net</A>]</FONT>
<BR><FONT size=2>>> Sent: Monday, July 23, 2001 2:42 PM</FONT> <BR><FONT
size=2>>> To: powerhouse</FONT> <BR><FONT size=2>>> Subject:
Impacts of modifying record structures</FONT> <BR><FONT size=2>>>
</FONT><BR><FONT size=2>>> </FONT><BR><FONT size=2>>> Howdy
folks,</FONT> <BR><FONT size=2>>> </FONT><BR><FONT size=2>>> Ok, I
have a record structure called EMPLOYEE-PER that is used in about a</FONT>
<BR><FONT size=2>>> zillion programs. The record structure
includes "filler" fields for</FONT> <BR><FONT size=2>> future</FONT>
<BR><FONT size=2>>> expansion. This is handy to avoid having to
recompile everything when</FONT> <BR><FONT size=2>>> adding a new item
to the record structure. Simply take some bytes from</FONT> <BR><FONT
size=2>> the</FONT> <BR><FONT size=2>>> filler and use them for the
new item. Therefore, the record length stays</FONT> <BR><FONT
size=2>>> the same. I'm sure most of you have done something
similar.</FONT> <BR><FONT size=2>>> </FONT><BR><FONT size=2>>>
Well, I did this, but I'm getting the error:</FONT> <BR><FONT size=2>>>
</FONT><BR><FONT size=2>>> *d* The screen linkage parameters don't agree
with local definitions.</FONT> <BR><FONT size=2>>> </FONT><BR><FONT
size=2>>> when I call a subscreen passing the EMPLOYEE-PER record.
This is</FONT> <BR><FONT size=2>>> disappointing as it looks like I will
have to recompile every subscreen</FONT> <BR><FONT size=2>> that</FONT>
<BR><FONT size=2>>> receives this record structure as a parameter (a
very significant task).</FONT> <BR><FONT size=2>> I</FONT> <BR><FONT
size=2>>> don't remember this happening before when using this old tried
and true</FONT> <BR><FONT size=2>>> technique for avoiding
recompiles. Is this something new?</FONT> <BR><FONT size=2>>>
</FONT><BR><FONT size=2>>> Does anybody have any suggestions for
modifying my record structure</FONT> <BR><FONT size=2>> without</FONT>
<BR><FONT size=2>>> having to recompile? All I am trying to do is
add a new 2 character field</FONT> <BR><FONT size=2>>> to the
record. The "filler" field that I have shortened is not a</FONT>
<BR><FONT size=2>> parameter</FONT> <BR><FONT size=2>>> being passed
to the subscreens.</FONT> <BR><FONT size=2>>> </FONT><BR><FONT
size=2>>> VMS 7.1</FONT> <BR><FONT size=2>>> PH
7.10</FONT> <BR><FONT size=2>>> RMS files</FONT> <BR><FONT
size=2>>> </FONT><BR><FONT size=2>>> thanks!</FONT> <BR><FONT
size=2>>> </FONT><BR><FONT size=2>>> p </FONT><BR><FONT
size=2>>> </FONT><BR><FONT size=2>>> = = = = = = = = = = = = = = =
= = = = = = = = = = = = =</FONT> <BR><FONT size=2>>> Mailing list:
powerh-l@lists.swau.edu</FONT> <BR><FONT size=2>>> Subscribe:
"subscribe" in message body to powerh-l-request@lists.swau.edu</FONT>
<BR><FONT size=2>>> Unsubscribe: "unsubscribe" in message body to</FONT>
<BR><FONT size=2>>> powerh-l-request@lists.swau.edu</FONT> <BR><FONT
size=2>>> <A href="http://lists.swau.edu/mailman/listinfo/powerh-l"
target=_blank>http://lists.swau.edu/mailman/listinfo/powerh-l</A></FONT>
<BR><FONT size=2>>> This list is closed, thus to post to the list you
must be a subscriber.</FONT> <BR><FONT size=2>>> </FONT><BR><FONT
size=2>>> = = = = = = = = = = = = = = = = = = = = = = = = = = = =</FONT>
<BR><FONT size=2>>> Mailing list: powerh-l@lists.swau.edu</FONT>
<BR><FONT size=2>>> Subscribe: "subscribe" in message body to
powerh-l-request@lists.swau.edu</FONT> <BR><FONT size=2>>> Unsubscribe:
"unsubscribe" in message body to</FONT> <BR><FONT size=2>>
powerh-l-request@lists.swau.edu</FONT> <BR><FONT size=2>>> <A
href="http://lists.swau.edu/mailman/listinfo/powerh-l"
target=_blank>http://lists.swau.edu/mailman/listinfo/powerh-l</A></FONT>
<BR><FONT size=2>>> This list is closed, thus to post to the list you
must be a subscriber.</FONT> <BR><FONT size=2>> </FONT><BR><FONT
size=2>> = = = = = = = = = = = = = = = = = = = = = = = = = = = =</FONT>
<BR><FONT size=2>> Mailing list: powerh-l@lists.swau.edu</FONT> <BR><FONT
size=2>> Subscribe: "subscribe" in message body to
powerh-l-request@lists.swau.edu</FONT> <BR><FONT size=2>> Unsubscribe:
"unsubscribe" in message body to powerh-l-request@lists.swau.edu</FONT>
<BR><FONT size=2>> <A
href="http://lists.swau.edu/mailman/listinfo/powerh-l"
target=_blank>http://lists.swau.edu/mailman/listinfo/powerh-l</A></FONT>
<BR><FONT size=2>> This list is closed, thus to post to the list you must
be a subscriber.</FONT> </P><BR>
<P><FONT size=2>= = = = = = = = = = = = = = = = = = = = = = = = = = = =</FONT>
<BR><FONT size=2>Mailing list: powerh-l@lists.swau.edu</FONT> <BR><FONT
size=2>Subscribe: "subscribe" in message body to
powerh-l-request@lists.swau.edu</FONT> <BR><FONT size=2>Unsubscribe:
"unsubscribe" in message body to powerh-l-request@lists.swau.edu</FONT>
<BR><FONT size=2><A href="http://lists.swau.edu/mailman/listinfo/powerh-l"
target=_blank>http://lists.swau.edu/mailman/listinfo/powerh-l</A></FONT>
<BR><FONT size=2>This list is closed, thus to post to the list you must be a
subscriber.</FONT> </P></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C113C3.87884610--