Arlina
8th October 2019, 15:12
Hi All,
Let me explain the whole situation here.
We want to create a file with fixed-length file fields without any separator.
For example column parent= tccom010.pctf is of length 20. Even if it is blank it needs to occupy 20 blanks spaces in the file. We are presently using sprintf$("%*s",20,shiftl$(parent)) to achieve it. The length of each data line to put into the file is always 3140 characters in this case.
So the issue here is, the file is not getting transferred to the local machine even if it is getting created on the server. The connection is getting lost at any random point(at seq.puts or server2client or on clicking on some variable). The same script is working fine in another environment though!!!:confused:
If we use any separator than there is no fixed-length file field and data line length is significantly reduced and it's working perfectly fine.
Can anyone please help/guide me on this?
Any suggestion is highly appreciated.
Thanks & Regards,
Arlina
Let me explain the whole situation here.
We want to create a file with fixed-length file fields without any separator.
For example column parent= tccom010.pctf is of length 20. Even if it is blank it needs to occupy 20 blanks spaces in the file. We are presently using sprintf$("%*s",20,shiftl$(parent)) to achieve it. The length of each data line to put into the file is always 3140 characters in this case.
So the issue here is, the file is not getting transferred to the local machine even if it is getting created on the server. The connection is getting lost at any random point(at seq.puts or server2client or on clicking on some variable). The same script is working fine in another environment though!!!:confused:
If we use any separator than there is no fixed-length file field and data line length is significantly reduced and it's working perfectly fine.
Can anyone please help/guide me on this?
Any suggestion is highly appreciated.
Thanks & Regards,
Arlina