Anyone have examples of how to pull a VARCHAR column directly into a DS for Input/Output in a Display file? I have several VARCHAR fields that are defined as 100+ Varchar going into a 30, 35 or so byte display field.
Pseudo is like this:
In_DS e DS ExtName( FileName )
/Free
Exec SQL
Select * from FileName into :In_DS
ExFMT Screen
Exec SQL
Insert into FileName Values( :In_DS )
/End-Free
I'm getting an RNF7456 Varying length field "fieldname" does not have proper external format.
Ideas?
Pseudo is like this:
In_DS e DS ExtName( FileName )
/Free
Exec SQL
Select * from FileName into :In_DS
ExFMT Screen
Exec SQL
Insert into FileName Values( :In_DS )
/End-Free
I'm getting an RNF7456 Varying length field "fieldname" does not have proper external format.
Ideas?
Comment