<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.Jacob, li.Jacob, div.Jacob
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        text-indent:-.25in;
        text-autospace:none;
        font-size:10.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>Try shaking down your friendly local programmer to
write a function that wraps SWAP.</span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'> </span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>Then you can forget the line by line “if-thens”
(they make my eyes go blurry </span></font><font face=Wingdings><span
style='font-family:Wingdings'>J</span></font><font face="Courier New"><span
style='font-family:"Courier New"'>).</span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'> </span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>If your programmer wraps SWAP with S.SWAP you should
be able to: </span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'> </span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>TRANS (“MAJORS”, MAJ.DESC,” MAJORS.DESC”);</span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>SUBR (“S.SWAP”, “Do Not Use”,””,@1);</span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>SUBR (“S.SWAP”, “Non-Degree
Program”,””,@2);</span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>SUBR(“S.STRIP.NULLS”,@3)</span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'> </span></font></p>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>Cheers,</span></font></p>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'> </span></font></p>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'> </span></font></p>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'> </span></font></p>

<div>

<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'>Jacob Geluk,
Senior Administrative Systems Analyst</span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'>Simmons College
300 The Fenway</span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'>Boston MA 02114</span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'>(617) 521-2198</span></font></p>

</div>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
download-list-admin@cedarville.edu [mailto:download-list-admin@cedarville.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Cindy Goede<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, April 08, 2004
11:33 AM<br>
<b><span style='font-weight:bold'>To:</span></b> download-list@cedarville.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Download-List] DOWNLOAD
using VF via script results in error</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>I have
a paragraph that uses the virtual field below to DOWNLOAD a XML file.  It
works fine when I run it from the colon prompt.  When the paragraph is run
from a script it doesn't work.<br>
<br>
virtual field----------------------------------------------<br>
<b><span style='font-weight:bold'>SUBR("S.L53.REMOVE.DUPS",X.LUTHER.MAJORS.ALL);<br>
TRANS("MAJORS",FIELD(@1,@VM,1,1),"MAJORS.DESC","X");<br>
TRANS("MAJORS",FIELD(@1,@VM,2,1),"MAJORS.DESC","X");<br>
TRANS("MAJORS",FIELD(@1,@VM,3,1),"MAJORS.DESC","X");<br>
TRANS("MAJORS",FIELD(@1,@VM,4,1),"MAJORS.DESC","X");<br>
TRANS("MAJORS",FIELD(@1,@VM,5,1),"MAJORS.DESC","X");<br>
TRANS("MAJORS",FIELD(@1,@VM,6,1),"MAJORS.DESC","X");<br>
IF @2 NE 'Do Not Use' AND @2 NE 'Non-Degree Program' THEN @2 ELSE '';<br>
IF @3 NE 'Do Not Use' AND @3 NE 'Non-Degree Program' THEN @3 ELSE '';<br>
IF @4 NE 'Do Not Use' AND @4 NE 'Non-Degree Program' THEN @4 ELSE '';<br>
IF @5 NE 'Do Not Use' AND @5 NE 'Non-Degree Program' THEN @5 ELSE '';<br>
IF @6 NE 'Do Not Use' AND @6 NE 'Non-Degree Program' THEN @6 ELSE '';<br>
IF @7 NE 'Do Not Use' AND @7 NE 'Non-Degree Program' THEN @7 ELSE '';<br>
SUBR("S.STRIP.NULLS",@8:@VM:@9:@VM:@10:@VM:@11:@VM:@12:@VM:@13)<br>
---------------------------------------------------------<br>
<br>
</span></b># ./usr/udms/scripts/ldapalumextract<br>
/datatel/live/benlive<br>
UniData Release 6.0  Build: (4161)<br>
(c) Copyright IBM Corporation 2002.<br>
All rights reserved.<br>
Current UniData home is /usr/ud51/.<br>
Current working directory is /datatel/live/benlive.<br>
:L53.LIS.LDAP.ALUM <br>
This paragraph creates a file of Alumni to be updated in LDAP<br>
980 records retrieved to list 0.<br>
DOWNLOAD version 6.02<br>
Using input file PERSON<br>
Output to file _HOLD_ LdapAlum.xml<br>
<b><span style='font-weight:bold'>In /usr/local/DOWNLOAD.SOURCE/_DOWNLOAD.LOAD
at line 119 Virtual Attribute Error<br>
: In /usr/local/DOWNLOAD.SOURCE/_DOWNLOAD.LOAD at line 119 Virtual field too
big.<br>
</span></b>1 record processed.<br>
:#<br>
<b><span style='font-weight:bold'>---------------------------------------------------------<br>
</span></b>Any idea what the problem might be?<br>
<br>
</span></font></p>

</div>

</body>

</html>