CIM Upload

rmdasari

Member
Hi :

I wanted to upload this data (in clnrloc.in) :

"08490-0002"
- - - "20" - - - - - - - - - - -
- - - - - - -
.
"08490-0007"
- - - "20" - - - - - - - - - - -
- - - - - - -
.
"08490-0009"
- - - "20" - - - - - - - - - - -
- - - - - - -

by using the following program :

input from "clnrloc.in" no-echo.
repeat:
{gprun.i ""ppptmt01.p""}
input close.
output close.

It works fine but on the last record its asks to "Press space bar to continue.... " after completion if I press "F4" it doesn't exit, and I have to do a CTRL-C.

Any help in this regards is greatly appreciated.


Thanks,

Rama
 
Try putting a Full Stop/Period (.) at the end of the input file.

MFG/PRO uses the input file as an input source and a "." acts as though you have pressed the ENTER key.

So, try

Code:
"08490-0002"
- - - "20" - - - - - - - - - - -
- - - - - - -
.
"08490-0007"
- - - "20" - - - - - - - - - - -
- - - - - - -
.
"08490-0009"
- - - "20" - - - - - - - - - - -
- - - - - - -
.
 
Hi :

I already have a "." at the end of the .cim file. Also the upload is asking to press space bar at the end of each record. What's wrong with the the script ?


Regards,

Rama
 
Try using end of line function in the script.

Or just press delete key on the very last char on the last line it might be possible pressing an enter key (blank line as last record for input statement)at the lastline is causing the issue.


Arshad
 
Back
Top