Hello Monks
We will be downloading files from server...we have to check for end of
file starts with "T" if this is there then we treat
this as complete file and do further processing otherwise
its not a complete file and we will
wait for the file. for eg. if the file has the following
0000000508120060901
3TEST C TEST 0000000508220060901
+ TEST123 0000000005120060901
+
300055566 0000000509720060901
+ 1ABC30620060901 000DDDD 24702R101 B000000272730
+000000000500000000 OTC
+ C
+ 2TC12345 00000000188 JEMPRUTEST 000000089
+89 TONY C TEST 00000008990 TEST123 0000
+0000090
200055566 00000009016
+ TJHY30600000000009
As above the last line started with "T" we can assume its complete file..
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.