<font face="Verdana, Arial, Helvetica" size="2">Gregory Walsh updated #16292<br />
----------------------------<br />
<br />
STRING SIZE Error<br />
-----------------<br />
<br />
<div style="margin-left: 40px;">Ticket ID: 16292</div>
<div style="margin-left: 40px;">URL: <a href="https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/16292">https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/16292</a></div>
<div style="margin-left: 40px;">Name: Gregory Walsh</div>
<div style="margin-left: 40px;">Email address: <a href="mailto:gwalsh4758@gmail.com">gwalsh4758@gmail.com</a></div>
<div style="margin-left: 40px;">Creator: User</div>
<div style="margin-left: 40px;">Department: AIPS Data Reduction</div>
<div style="margin-left: 40px;">Staff (Owner): -- Unassigned --</div>
<div style="margin-left: 40px;">Type: Issue</div>
<div style="margin-left: 40px;">Status: Open</div>
<div style="margin-left: 40px;">Priority: Default</div>
<div style="margin-left: 40px;">SLA: NRAO E2E</div>
<div style="margin-left: 40px;">Template group: Default</div>
<div style="margin-left: 40px;">Created: 01 June 2020 04:33 PM</div>
<div style="margin-left: 40px;">Updated: 01 June 2020 04:33 PM</div>
<div style="margin-left: 40px;">Reply due: 03 June 2020 04:33 PM (2d 0h 0m)</div>
<div style="margin-left: 40px;">Resolution due: 26 February 2023 12:00 AM (999d 7h 27m)</div>
<br />
<br />

<p>Hello,</p>
<p>I am writing a procedure to recursively export the catalog entries created by VLBARUN in AIPS as FITS files (to be used in CASA). When I run the file containing the procedure in AIPS it returns STRING SIZE. If I run the inputs and tasks of the procedure line by line, it works just fine.</p>
<p>Here is what I have:</p>
<p>PROC EXPORT (SOURCE, OUTDIR)<br />DEFAULT FITTP<br />INNAME SOURCE ; INCLASS 'A8_0'<br />DATAOUT OUTDIR !! SOURCE !! '.fits<br />GO FITTP ; WAIT</p>
<p>FINISH</p>
<p>FOR I=1 TO 16 ; EXPORT (SOURCES(I), WRITEDIR) ; END</p>
<p>SOURCES and WRITEDIR have been previously defined. If I run it for each entry in SOURCES separately, it will work fine. It's only when I am running it in the for loop it returns the STRING SIZE message. I have also gotten this message when VLBARUN is writing plots to disk, though I just disabled plot creation in the VLBARUN parameters to get around this. Could you tell me what is creating this STRING SIZE message and how I can successfully run this iterative loop?</p>
<p>Thanks,</p>
<p>Greg</p>

<br />
<HR style="margin-bottom: 6px; height: 1px; BORDER: none; color: #cfcfcf; background-color: #cfcfcf;" />
Staff CP:  <a href="https://help.nrao.edu/staff" target="_blank">https://help.nrao.edu/staff</a><br />
</font>