How CIM works?

boliaz

New Member
Hi all Progresstalk members,

I'm a newbie for QAD's MFG/Pro.
I have to do an automatic load exchange rate data to MFG/Pro
but I have no idea how CIM works.

My Questions:
1. How different between MFG CIM and Progress CIM?
2. If I have to do automatic CIM, what I have to do step by step?
(now I knew only how to manual CIM by menu 36.15.1,2)

Now I can generate text file which contain data in CIM format.
I test my CIM file format by menu 36.15.1,2 and the error show in 36.15.3 is
"Program Errors = 1, Progress Errors = 0" ,What I have to fix from my CIM file below?

My CIM file as the followings:
**********************

@@batchload mcexrmt.p
"USD" ~
"THB" ~
20/12/10 ~
20/12/10 ~
1 30.2644
.
@@end
@@batchload mcexrmt.p
"SGD" ~
"THB" ~
20/12/10 ~
20/12/10 ~
1 23.17
.
@@end


**********************

Thank you very very much in advance.

BB
 
as a rule, when you post a message, specify your Mfg/Pro and OS version
anyway, as the CIM process didn't change between the versions
here are few tips:

there are two way to use CIM in Mfg/Pro:
1. using CIM menus 36.15.(1-3) (as in your example)
here you must include for each iteration/record :
@@batchload <mfgprog.p> (as 1st line)
...field values, each frame group on seperate line
@@end (as last line)
in your example i see ~ character (remove it)
and remove also the line with the dot
keep in mind, that for UNIX/Linux, line terminator must be chr(10)
while in Windows its chr(13)+chr(10)

2. using CIM from within your progress code, where you do the processing and the
analysis of errors. you can see another message in this forum:
http://www.progresstalk.com/showthread.php?117447-CIM-Process
 
Hi mosfin,

I'm sorry for break rule.

Thank you so much for your help.
Now i'm trying as your recommend and hope it's work!!

Thank you again !!! :blush:

BB
 
Back
Top