HI all
Can any one please help me with this? I have a flat file. I just want to add something to its first line and not want to touch rest of the file. e.g
Firstlineofflatfile20080220
010800650022000003190000000+000002ECLPSE BIG E SPEAR000022505 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650012546310530000000+000003DENTYNE ICE GUM 000022005 ^M
010800650012546310510000000+000001DENTYNE ICE GUM 000022005 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650022000004660000000+000009ALTD CHC DP MNTS 000018005 ^M
010800650022000004670000000+000012ALTOID DK CHC CINN000018005 ^M
010800650022000159330000000+000008ALTOIDS MINTS DP 1000012205 ^M
after script is done i want my file to look like:
Firstlineofflatfile20080220ADDEDTEXTHERE
010800650022000003190000000+000002ECLPSE BIG E SPEAR000022505 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650012546310530000000+000003DENTYNE ICE GUM 000022005 ^M
010800650012546310510000000+000001DENTYNE ICE GUM 000022005 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650022000004660000000+000009ALTD CHC DP MNTS 000018005 ^M
010800650022000004670000000+000012ALTOID DK CHC CINN000018005 ^M
010800650022000159330000000+000008ALTOIDS MINTS DP 1000012205 ^M
Thanks
Can any one please help me with this? I have a flat file. I just want to add something to its first line and not want to touch rest of the file. e.g
Firstlineofflatfile20080220
010800650022000003190000000+000002ECLPSE BIG E SPEAR000022505 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650012546310530000000+000003DENTYNE ICE GUM 000022005 ^M
010800650012546310510000000+000001DENTYNE ICE GUM 000022005 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650022000004660000000+000009ALTD CHC DP MNTS 000018005 ^M
010800650022000004670000000+000012ALTOID DK CHC CINN000018005 ^M
010800650022000159330000000+000008ALTOIDS MINTS DP 1000012205 ^M
after script is done i want my file to look like:
Firstlineofflatfile20080220ADDEDTEXTHERE
010800650022000003190000000+000002ECLPSE BIG E SPEAR000022505 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650012546310530000000+000003DENTYNE ICE GUM 000022005 ^M
010800650012546310510000000+000001DENTYNE ICE GUM 000022005 ^M
010800650034000003470000000+000006YORK MINT TIN 000012405 ^M
010800650022000004660000000+000009ALTD CHC DP MNTS 000018005 ^M
010800650022000004670000000+000012ALTOID DK CHC CINN000018005 ^M
010800650022000159330000000+000008ALTOIDS MINTS DP 1000012205 ^M
Thanks