Check IV error: 9 clsModComIV_read line
subscript out of range
This error may results from a comma or other extra character in the Modcomiv.fil file.
Open Windows Explorer in the Mfgsys folder for the following steps:
- Open the Modcomiv.tmp file in WordPad and go to the last record
- Open the Modcomiv.hld file in WordPad
- Go to the record in Modcomiv.hld following the last record in the Modcomsiv.tmp file which can be an ITMB record or a CUID record.
- Look at the item description and if there is a comma at the end of the description, remove it as in the following example record.
"IV","AAA","02/27/2002","015:19:08","0","A","COMT","CO110","0","000",
"C100","4",0,0,0,0,0,0,0,0,30,"AAA","","MN","","",,6.500,,,"",
"1-00-000-2510","","","OUR,DOCK","","AAA","","","1-00-000-1110","L","D",,,,""
- Edit file to remove the comma. For example in the above record change "OUR,DOCK"
to "OUR DOCK"
- Save the file as Text Only and exit WordPad
- Delete the Modcomgl.mc
- Delete the Modcomiv.mc
- Delete the Modcomiv.tmp
- If there is a Modcomap.mc, run APMC
- Rename any modcom mcx files to mc
- Run the applicable module communication process, such as APMC, IVMC or Load Daily Transactions. Do not run GLMC yet.
- Run the Daily Allocation Tool (Interco.exe) again
- If you choose you may run APMC, GLMC, IVMC and move the Modcomsl.mc to the SAAM folder. Or you can wait until the next nightly batch and records from the current day's processing will be appended to the mc files.