[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Problems in writing into a fixed length file.



try giving VARY instead of fixed in the open command

Cheers
ram

-----Original Message-----
From: sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org
[mailto:sqr-users-bounces+ramakrishnan.vaidyanathan=ge.com@sqrug.org]On
Behalf Of sri kanth
Sent: Wednesday, May 02, 2007 9:53 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] Problems in writing into a fixed length file.



Iam facing problem in writing variables into fixed length file with line 
terminator. I am able to write  fixed length file without line terminators 
but not with line terminators...!!
I am using below code for the same..

open 'test.txt' as 10 for-writing record=100:fixed
write 10 from $var1:20 $var2:15

Then it is writing only 35 length record but not 100..!!

Am I going wrong somewhere..?!

Quick response would be highly appreciated.

Thanks in advance.

-Choudary

_________________________________________________________________
Tried the new MSN Messenger? It's cool! Download now. 
http://messenger.msn.com/Download/Default.aspx?mkt=en-in


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users