Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 24 Dec 2002 @ 21:58:58 GMT


     
  <Prev Next>  
<<First
<Prev
Next>
Last>>
 


Subj:   Question on writing INMOD for MLOAD
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, December 24, 2002 14:00 -->

Hello

I am writing my first sample inmod for MLOAD scripts under windows NT...

Below is the import statement and the error:

.IMPORT inmod mlimodf
     FORMAT VARTEXT ',' DISPLAY ERRORS NOSTOP
     LAYOUT INPUTLAYOUT
     APPLY PGMLIMOD;

     UTY4203 Attempted to access out of range input data in field
'IN_SELECT', file '',record number '1'.

I just open the file, read the first record and return the data to _dynamn. I get an error

     UTY4203 attemp to read record outside the range...

While the same data file just works fine without the inmod routine. Below is the working 'IMPORT' statement:

IMPORT iNFILE test.dat
      FORMAT VARTEXT ','
      LAYOUT INPUTLAYOUT
      APPLY PGMLIMOD

Could any one please help me solve this issue?

thanks



     
  <Prev Next>  
<<First
<Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023