[This message was posted by NVS GODAVARTHI of DTCC <[email protected]> to the "4.0 Session" discussion forum at http://fixprotocol.org/discuss/12. You can reply to it on-line at http://fixprotocol.org/discuss/read/7baefc74 - PLEASE DO NOT REPLY BY MAIL.]
Appreciate your Help Toby and Greg!! :) > Greg's method shoud work too! :) > > > Doing a google search on "set a hex value in cobol" led me to > > something like this: > > > > 05 ASCII-1 PIC X VALUE X'01'. > > > > Give it a try. > > > > Good luck, Greg. > > > > > Hi Mahesh, > > > > > > Hope you are doing great. It has been wonderfull reading all your > > > posts. > > > > > > Can you please let me know if you hava any idea, how i can define > > > Delimiter(SOH) as a COBOL field? > > > > > > Appreciate your help in Advance. > > > > > > Thanks. > > > > > > > > > > As pointed out by Paul in > > > > > > > > http://fixprotocol.org/discuss/read/4932c2cc > > > > > > > > Begin String Tag 8 should be FIX.4.2 > > > > > > > > > X4.222^35=S^49=Broker^56=Institution^34=251^52=2000072814:06:22- > > > > > ^...(Remaining message here) > > > > > > > > > > I am using ^ to denote SOH delimiter in the above String. In > > > > > Java SOH can be defined as > > > > > > > > > > public static final char SOH_DELIMITER = '\u0001'; > > > > > > > > > > Each Tag=Value par should be followed by SOH character. Looks > > > > > like the file from which you are trying to extract FIX messages > > > > > is not storing SOH. > > > > > > > > > > > I'm trying to extract FIX message from FILE...Initially i'm > > > > > > trying to create Message with predefined String like > > > > > > > > > > > > e="8=FIX4.2<SOH>9=222<SOH>35=S<SOH>49=Broker<SOH>56=Instituti- > > > > > > OH>=SOH>52=2000072814:06:22<SOH>117=XXX<SOH>131=YYY<SOH>55=AA- > > > > > > OH>01<SOH>202=25.00<SOH>201=1<SOH>132=5.00<SOH>133=5.25<SOH>1- > > > > > > 34=10<SOH>135=10<SOH>10=KED<SOH>"; > > > > > > > > > > > > Message m=new Message(line); > > > > > > > > > > > > But its not Working.(Exeption-SOH not found at end of field: > > > > > > 8) please let me know where i'm going wrong. [You can unsubscribe from this discussion group by sending a message to mailto:[email protected]]
-- You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fix-protocol?hl=en.
