TopDog129 - you can use a simple vb script to accomplish the task:
1) run the first command via a batch file
"your path to vss\SS" dir $/EDI -NL -R -oc:\VSS_Prod_Directory_Listing_All.txt -Yuserid,password
(the above should all be on one line.)
2) Copy the following vbs code into a text...
alternatively, you can look for AK3 or AK4 -- then you would know you had a rejected transaction.
Otherwise, here's a sample of some 'rudimentary' code I use on a daily basis. There may be an easier way, but I'm sorta new to Procomm. You'll have to tweak it for your use:
integer FileCounter...
Matta25 -- presumably you are reading in a 997? Since the ISA segment is of fixed length, and should contain the delimiter (the ~, *, - you referenced in your post), once you get the delimiter used from the ISA segment, you should be able to find the same delimiters in the AK5 segments.
(Try...
trolley -- I've used this type of BBS in the not so distant past. It's terrible, but it's what we're stuck with. Although I use a different product to download files, the concept is the same. It seems to work ok with having two separate download routines, and in essence, here is what we do...
How about itoa ??
The example from the Help File:
proc main
integer Miles = 257 ; Distance traveled.
integer Gallons = 14 ; Volume of fuel used.
integer Mileage ; Mileage for trip.
string MileageString ; Mileage as a string...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.