AS400 V4R4M0 -- 6.07F FILE statement NEED option
Rendell Requiro
rendell@agbus.com
Mon, 30 Apr 2001 11:56:14 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_006F_01C0D16C.8EB6ED40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Are there any limitations when using the NEED option on a DESIGNER file =
statement? Sometimes the following code snippet works, other times no =
DESIGNER file records are created.
my file statement is =20
file TRANSFER-IN designer need 1
during a DESIGNER procedure I do a GET to the DESIGNER file TRANSFER-IN
get TRANSFER-IN viaindex (...) via (...) using (...) optional=20
if not accessok
then begin
put TRANSFER-IN
end
Most of the time TRANSFER-IN records are created, maybe 20-30% of the =
time, no records are created. I am baffled -- any ideas why this might =
occur?
Rendell Requiro
AG Business Management, Inc.
rendell@agbus.com
831-455-2355 x101 voice
831-455-2264 fax
www.agbus.com
------=_NextPart_000_006F_01C0D16C.8EB6ED40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Are there any limitations when using the NEED option =
on a=20
DESIGNER file statement? Sometimes the following code snippet =
works, other=20
times no DESIGNER file records are created.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>my file statement is </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2> file TRANSFER-IN designer need=20
1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>during a DESIGNER procedure I do a GET to the =
DESIGNER file=20
TRANSFER-IN</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2> get TRANSFER-IN viaindex (...) =
via (...)=20
using (...) optional </FONT></DIV>
<DIV><FONT size=3D2> if not accessok</FONT></DIV>
<DIV><FONT size=3D2> then begin</FONT></DIV>
<DIV><FONT=20
size=3D2> &nbs=
p; =20
put TRANSFER-IN</FONT></DIV>
<DIV><FONT =
size=3D2> =20
end</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Most of the time TRANSFER-IN records are created, =
maybe 20-30%=20
of the time, no records are created. I am baffled -- any ideas why =
this=20
might occur?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Rendell Requiro<BR>AG Business Management, =
Inc.<BR><A=20
href=3D"mailto:rendell@agbus.com">rendell@agbus.com</A><BR>831-455-2355&n=
bsp; =20
x101 =20
voice<BR>831-455-2264 &nbs=
p; =20
fax<BR><A=20
href=3D"http://www.agbus.com">www.agbus.com</A><BR></FONT></DIV></BODY></=
HTML>
------=_NextPart_000_006F_01C0D16C.8EB6ED40--