It's Monday and I know that when somebody answers I'll go that's right..

Greig greig.morrison at sympatico.ca
Mon Mar 12 13:16:58 CDT 2012


It has been awhile, but most of my old code uses "at startup" for this
type of thing.
reset at startup

You should also be able to do the following if the file is a Primary
file, (assuming the subfile is indexed):

File *../data FS930S
access via ccg-occ-num using t-occ  request T-union, t-occ
select if T-union = ccg-union-code

field  t-union   label "Union Code"    values "01" to "12"
field  t-occ


Greig

-----Original Message-----
From: powerh-l-bounces+greig.morrison=sympatico.ca at lists.sowder.com
[mailto:powerh-l-bounces+greig.morrison=sympatico.ca at lists.sowder.com]
On Behalf Of powerh-l-request at lists.sowder.com
Sent: Monday, March 12, 2012 1:00 PM
To: powerh-l at lists.sowder.com
Subject: powerh-l Digest, Vol 81, Issue 1

Send powerh-l mailing list submissions to
	powerh-l at lists.sowder.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.sowder.com/mailman/listinfo/powerh-l
or, via email, send a message with subject or body 'help' to
	powerh-l-request at lists.sowder.com

You can reach the person managing the list at
	powerh-l-owner at lists.sowder.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of powerh-l digest..."


Today's Topics:

   1. It's Monday and I know that when somebody answers I'll go
      that's	right.. (Brian Stephens)
   2. Re:It's Monday and I know that when somebody answers I'll go
      that's	right.. (Bob Deskin)
   3. RE:It's Monday and I know that when somebody answers I'll
      gothat's	right.. (Pickering, John (NORBORD))
   4. Re:It's Monday and I know that when somebody answers I'll
      gothat's	right.. (Brian Stephens)


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

Message: 1
Date: Mon, 12 Mar 2012 09:44:45 -0500
From: Brian Stephens <bws001 at gmail.com>
Subject: It's Monday and I know that when somebody answers I'll go
	that's	right..
To: powerh-l at lists.sowder.com
Message-ID:
	
<CAPxvv-X+CEu1mBP+DLK2tUD=7pn+7rkMS+LOMbwqTGfq9tSN5Q at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I'm trying to use a a temp as a selection in a quick screen

IE the temp is a field on the screen  and in the select on the file
statement


but when I try to change the field it tells me there is no data...
I know I've done this before But damned if I can remember how..


--
Thanks

Brian Stephens
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sowder.com/pipermail/powerh-l/attachments/20120312/2be6128
f/attachment.html>

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

Message: 2
Date: Mon, 12 Mar 2012 11:43:45 -0400
From: Bob Deskin <Bob.Deskin at ca.ibm.com>
Subject: Re: It's Monday and I know that when somebody answers I'll go
	that's	right..
To: Brian Stephens <bws001 at gmail.com>
Cc: powerh-l-bounces+bob.deskin=ca.ibm.com at lists.sowder.com,
	powerh-l at lists.sowder.com
Message-ID:
	
<OFFA5EAABF.DABE28C7-ON852579BF.0056581A-852579BF.0056674B at ca.ibm.com>
Content-Type: text/plain; charset="US-ASCII"

It should be ok if you're in Find or Select mode.

Bob



From:   Brian Stephens <bws001 at gmail.com>
To:     powerh-l at lists.sowder.com
Date:   2012-03-12 10:48 AM
Subject:        It's Monday and I know that when somebody answers I'll
go 
that's  right..
Sent by:        powerh-l-bounces+bob.deskin=ca.ibm.com at lists.sowder.com



I'm trying to use a a temp as a selection in a quick screen

IE the temp is a field on the screen  and in the select on the file
statement 


but when I try to change the field it tells me there is no data... 
I know I've done this before But damned if I can remember how..


-- 
Thanks

Brian Stephens--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: 'subscribe' in message body to 
powerh-l-request at lists.sowder.com
Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to 
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the 
list archive at Google.



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

Message: 3
Date: Mon, 12 Mar 2012 11:48:30 -0400
From: "Pickering, John (NORBORD)" <John.Pickering at norbord.com>
Subject: RE: It's Monday and I know that when somebody answers I'll
	gothat's	right..
To: "Brian Stephens" <bws001 at gmail.com>, <powerh-l at lists.sowder.com>
Message-ID:
	<50E1B910B1BCC14BA5A7360CD062EBB8030B30 at torexc251.norbord.com>
Content-Type: text/plain;	charset="us-ascii"

Is the temp in the REQUEST clause of the FILE statement?

-----Original Message-----
From: powerh-l-bounces+john.pickering=norbord.com at lists.sowder.com
[mailto:powerh-l-bounces+john.pickering=norbord.com at lists.sowder.com] On
Behalf Of Bob Deskin
Sent: Monday, March 12, 2012 11:44 AM
To: Brian Stephens
Cc: powerh-l-bounces+bob.deskin=ca.ibm.com at lists.sowder.com;
powerh-l at lists.sowder.com
Subject: Re: It's Monday and I know that when somebody answers I'll
gothat's right..

It should be ok if you're in Find or Select mode.

Bob



From:   Brian Stephens <bws001 at gmail.com>
To:     powerh-l at lists.sowder.com
Date:   2012-03-12 10:48 AM
Subject:        It's Monday and I know that when somebody answers I'll
go 
that's  right..
Sent by:        powerh-l-bounces+bob.deskin=ca.ibm.com at lists.sowder.com



I'm trying to use a a temp as a selection in a quick screen

IE the temp is a field on the screen  and in the select on the file 
statement 


but when I try to change the field it tells me there is no data... 
I know I've done this before But damned if I can remember how..


-- 
Thanks

Brian Stephens--


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

Message: 4
Date: Mon, 12 Mar 2012 11:03:43 -0500
From: Brian Stephens <bws001 at gmail.com>
Subject: Re: It's Monday and I know that when somebody answers I'll
	gothat's	right..
To: powerh-l at lists.sowder.com
Message-ID:
	
<CAPxvv-U0zuOHZ-U75vWB2oktL1QFSH-s=BfF7eSuv58-kB7fLw at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

relevant code it below...

can cle
screen ../pub/pcr930kc

;FS930S                                  TYPE SCALE SCALE  DEC PICTURE
;  CCG-UNION-CODE                        CHAR                  X(2) ^^
;* CCG-OCC-NUM                           NUM     0     0    0  ^^^^^^
;* UN-OCC-KEY                            CHAR                  X(10)
;  CCG-OCC-DESC                          CHAR                  X(20)
^^^^^^^^^
;  CCG-JOB-CLASS                         NUM     0     0    0  ^^
;  NEW-JOB-CLASS                         NUM     0     0    0  ^^^^^^

temp t-union char * 2  initial "00" reset AT mode
temp t-occ    num     initial 0 reset at MODE

file *../data/FS930S
select if T-union = ccg-union-code


skip 2
align (1,4,17)
field  t-union   label "Union Code"    values "01" to "12"

procedure designer 01 nodata
begin
 accept t-union
end


procedure Find
begin
  if t-union = "00"
    then accept t-union
  accept t-occ
  get FS930S via ccg-occ-num using t-occ
  display ccg-occ-desc
  display ccg-job-class
end


------------------------------------------------------------------------
----
Working on an indexed subfile.

First record works fine.

After you find and update..  the screen is blank enter 1 to change the
union and you get no data...

PS this is 7.33 on HPUX

I have a work around now that I can change mode and reset the union or
do
an us and change the union.. If I don't sort it out I'm not going to
worry
about it... I have a love hate relationship with QUICK


On Mon, Mar 12, 2012 at 10:48 AM, Pickering, John (NORBORD) <
John.Pickering at norbord.com> wrote:

> Is the temp in the REQUEST clause of the FILE statement?
>
> -----Original Message-----
> From: powerh-l-bounces+john.pickering=norbord.com at lists.sowder.com
> [mailto:powerh-l-bounces+john.pickering=norbord.com at lists.sowder.com]
On
> Behalf Of Bob Deskin
> Sent: Monday, March 12, 2012 11:44 AM
> To: Brian Stephens
> Cc: powerh-l-bounces+bob.deskin=ca.ibm.com at lists.sowder.com;
> powerh-l at lists.sowder.com
> Subject: Re: It's Monday and I know that when somebody answers I'll
> gothat's right..
>
> It should be ok if you're in Find or Select mode.
>
> Bob
>
>
>
> From:   Brian Stephens <bws001 at gmail.com>
> To:     powerh-l at lists.sowder.com
> Date:   2012-03-12 10:48 AM
> Subject:        It's Monday and I know that when somebody answers I'll
> go
> that's  right..
> Sent by:
powerh-l-bounces+bob.deskin=ca.ibm.com at lists.sowder.com
>
>
>
> I'm trying to use a a temp as a selection in a quick screen
>
> IE the temp is a field on the screen  and in the select on the file
> statement
>
>
> but when I try to change the field it tells me there is no data...
> I know I've done this before But damned if I can remember how..
>
>
> --
> Thanks
>
> Brian Stephens--
>



-- 
Thanks

Brian Stephens
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sowder.com/pipermail/powerh-l/attachments/20120312/91f0f3e
d/attachment-0001.htm>

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

--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: &quot;subscribe&quot; in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: &quot;unsubscribe &lt;password&gt;&quot; in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.

End of powerh-l Digest, Vol 81, Issue 1
***************************************


More information about the powerh-l mailing list