Hi,
My src file is a EBCDIC binary file.
I want to skip the first row from this src file and process the rest. Since it is a parallel job, I m not sure if putting constraint @INROWNUM<>1 will work..
I m not able to use UNIX- head command as when I do 'wc -l' for this file it gives count=0. (The file seems to be a continuos chunk of binary data)
Can anybody guide me hw to achieve this.
Thnks
Richa
Separate 1st row from binary file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 24
- Joined: Mon Apr 24, 2006 3:34 am
- Location: USA
-
- Participant
- Posts: 24
- Joined: Mon Apr 24, 2006 3:34 am
- Location: USA
Hi,
The src binary file is a fixed length one. Both the header and detail types are of same length.
Basically I wnt to separate the header nd read the 'rec-count' field value & thereafter use this to re-concile the number of detail recs following it.
From unix side we tried to use 'dd' command bt it didnt convert properly either.
I m clueless hw to go about this...Any help wud be appreciated
Thnks
Richa
The src binary file is a fixed length one. Both the header and detail types are of same length.
Basically I wnt to separate the header nd read the 'rec-count' field value & thereafter use this to re-concile the number of detail recs following it.
From unix side we tried to use 'dd' command bt it didnt convert properly either.
I m clueless hw to go about this...Any help wud be appreciated
![Confused :?](./images/smilies/icon_confused.gif)
Thnks
Richa
-
- Participant
- Posts: 24
- Joined: Mon Apr 24, 2006 3:34 am
- Location: USA
Hi,
The src binary file is a fixed length one. Both the header and detail types are of same length.
Basically I wnt to separate the header nd read the 'rec-count' field value & thereafter use this to re-concile the number of detail recs following it.
From unix side we tried to use 'dd' command bt it didnt convert properly either.
I m clueless hw to go about this...Any help wud be appreciated
Thnks
Richa
The src binary file is a fixed length one. Both the header and detail types are of same length.
Basically I wnt to separate the header nd read the 'rec-count' field value & thereafter use this to re-concile the number of detail recs following it.
From unix side we tried to use 'dd' command bt it didnt convert properly either.
I m clueless hw to go about this...Any help wud be appreciated
![Confused :?](./images/smilies/icon_confused.gif)
Thnks
Richa