Handling NULLs in fixed-width column sequential file
Posted: Tue Jun 22, 2004 9:20 am
Hi all,
I have a fixed-width sequential file (say A.txt)
The data structure is:
columnname|length
----------------------
empno|2
empname|10
Value which I stored is:
01Ravindar**
02Vivek*****
I am using a sequential file stage to read this file.
My required output from the SF stage is a valid value for each column(means those *s should be truncated)
My question is:
How to do this in a sequential file stage?
Note:I know this can be done easily through a transformer.
I have a fixed-width sequential file (say A.txt)
The data structure is:
columnname|length
----------------------
empno|2
empname|10
Value which I stored is:
01Ravindar**
02Vivek*****
I am using a sequential file stage to read this file.
My required output from the SF stage is a valid value for each column(means those *s should be truncated)
My question is:
How to do this in a sequential file stage?
Note:I know this can be done easily through a transformer.