Get statement

Boyle, Joe Joe.Boyle@cognos.com
Tue, 19 Mar 2002 11:19:02 -0000


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_01C1CF37.DFC539C0
Content-Type: text/plain;
	charset="iso-8859-2"

it is fixed in 710G4,

my keys are  A, B, C, D

with a bad key 'G' I get,

A - OK - 1!
A - NOT OK - 2!

with a good key 'B' I get,

A - OK - 1!
B - OK!
A - OK - 2!




-----Original Message-----
From: Aci Polajnar [mailto:Aci.Polajnar@rcc-irc.si]
Sent: 19 March 2002 09:46
To: 'PowerHouse List'
Subject: Get statement


Hi there!

I have troubles with an very simple screen looks like this:

scr x

file krckre designer

procedure designer xx nodata
begin
  get krckre viai krckre-id using "3000052" opt
  if accessok
   then info "3000052 - OK - 1!" now res
  while retr krckre viai krckre-id using "9876543"
  begin
    info "9876543 - OK!" now res
  end
  get krckre viai krckre-id using "3000052" opt  <-----------
  if accessok
   then info "3000052 - OK - 2!" now res
   else info "3000052 - NOT OK - 2!" now res
end

My platform is OPEN VMS 7.3, PH is 7.10G1 and krckre is
RMS file with unique index krckre-id. In my file I have an
existing id "3000052". Id  "9876543" doesen't exists.

My problem is that the second get statement alvays fails if preceding
while retrieving loop doesen't find anything. I have already tried all
kinds of open and close options I can also ommit the first get statement,
with same result.

Anyone familiar with this???

Regards!

-- 
                  _\\///_
                 (' o-o ')
_______________ooOo_( )_oOoo_____________________________________

Aci Polajnar                  Tel   : +386(0)3 4274174
IS Consultant                 Fax   : +386(0)3 4274198
Razvojni Center Celje         e-mail: acip@rcc-irc.si
3000 Celje, Slovenia          URL   : http://www.rcc-irc.si  
_______________oooO____Oooo______________________________________
              (   )    (   )
               \ (      ) /
                \_)    (_/

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
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
This list is closed, thus to post to the list you must be a subscriber.

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

------_=_NextPart_001_01C1CF37.DFC539C0
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



RE: Get statement



it is fixed in 710G4,

my keys are  A, B, C, D

with a bad key 'G' I get,

A - OK - 1!
A - NOT OK - 2!

with a good key 'B' I get,

A - OK - 1!
B - OK!
A - OK - 2!




-----Original Message-----
From: Aci Polajnar [mailto:Aci.Polajnar@rcc-irc.si]
Sent: 19 March 2002 09:46
To: 'PowerHouse List'
Subject: Get statement


Hi there!

I have troubles with an very simple screen looks like = this:

scr x

file krckre designer

procedure designer xx nodata
begin
  get krckre viai krckre-id using = "3000052" opt
  if accessok
   then info "3000052 - OK - 1!" = now res
  while retr krckre viai krckre-id using = "9876543"
  begin
    info "9876543 - OK!" = now res
  end
  get krckre viai krckre-id using = "3000052" opt  <-----------
  if accessok
   then info "3000052 - OK - 2!" = now res
   else info "3000052 - NOT OK - = 2!" now res
end

My platform is OPEN VMS 7.3, PH is 7.10G1 and krckre = is
RMS file with unique index krckre-id. In my file I = have an
existing id "3000052". Id  = "9876543" doesen't exists.

My problem is that the second get statement alvays = fails if preceding
while retrieving loop doesen't find anything. I have = already tried all
kinds of open and close options I can also ommit the = first get statement,
with same result.

Anyone familiar with this???

Regards!

--
          &nb= sp;       _\\///_
          &nb= sp;      (' o-o ')
_______________ooOo_( = )_oOoo_____________________________________

Aci = Polajnar          &nbs= p;       Tel   : +386(0)3 = 4274174
IS = Consultant          &n= bsp;      Fax   : +386(0)3 = 4274198
Razvojni Center = Celje         e-mail: = acip@rcc-irc.si
3000 Celje, = Slovenia          = URL   :
http://www.rcc-irc.si 
_______________oooO____Oooo____________________________________= __
          &nb= sp;   (   )    (   = )
          &nb= sp;    \ (      ) /
          &nb= sp;     \_)    (_/

=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D = =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
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
This list is closed, thus to post to the list you = must be a subscriber.

This message may contain privileged and/or = confidential information.  If you have received this e-mail in = error or are not the intended recipient, you may not use, copy, = disseminate or distribute it; do not open any attachments, delete it = immediately from your system and notify the sender promptly by e-mail = that you have done so.  Thank you.

------_=_NextPart_001_01C1CF37.DFC539C0--