JANETS_INM - 第690页

JaNets In structio n Manual 17 Program Expl orer 17 - 38 17.9 C ase Exam ple The genera l operatio n of the file m anageme nt is de scribe d below , usin g the "P rogram Editor" as an exampl e. (1) Example A: C…

100%1 / 755
JaNets Instruction Manual 17 Program Explorer
17-37
Check out/Check in/Cancel the Check out/Get data/Operation
Client PC
Database (server PC)
Check out
Production program: editable
Production program: locked
(another user/client cannot edit it.)
A.iss
(production program)
Production program:
editing is finished.
Production program: unlocked
(updated to the data edited with
the client.)
Production program: unlocked
(Not updated to the data edited
with a client.)
Production program: unlocked
Production program: its
copy is created, but is not
reflected in the server PC.
Check in
Cancel check
out
Get data
Production program:
editing is finished.
A production program is
edited with the client PC.
A.iss
(production program)
A.iss
(production program)
A.iss
(production program)
A.iss
(production program)
A.iss
(production program)
A.iss
(production program)
A.iss
(production program)
JaNets Instruction Manual 17 Program Explorer
17-38
17.9 Case Example
The general operation of the file management is described below, using the "Program Editor" as
an example.
(1) Example A: Check out and Check in
Check out a production program file:
Click-hold on the production program file ProductionProgramA.issat the Program
Explorer area, and drag and drop it on the application area.
(* To “Check outa file, the file has to be in the checked-in state.)
Figure 17.9-1 Before checking out (drag and drop a file)
Once you checked out the file, it is copied to the client PC, and Program Editor loads it
automatically.
Figure17.9-2 After checking out
* In this state, contents of the file ProductionProgramA.issin the database and in a client PC
are the same.
(When you check out a production program file, if the client PC already has a file that has the
same name with a different date of update, a dialog message appears asking whether you
want to overwrite it or not.)
* Since the file ProductionProgramA.isson the database has already been checked out,
you cannot check it out from the database.
Edit the file ProductionProgramA.issby the Program Editor and save it.
* Contents of the file ProductionProgramA.issin the database and in a client PC are now
different.
Displays information
managed by the
database.
Location of the file that is being edited
by Program Editor.
(Shows which file is being checked
out, and loaded by Program Editor.
The state of the file
changed; it is currently being
checked out.
JaNets Instruction Manual 17 Program Explorer
17-39
Check in the production program file:
On the Program Explorer area, right-click on the file name ProductionProgramA.issand
select the Check infrom the pop-up menu. Contents of the file ProductionProgramA.iss,
which is edited on the client PC, are reflected to the file on the database.
Figure 17.9-3 After checking in
* Once the file that you edited is checked in, the file ProductionProgramA.issin the database
is overwritten; contents of the file in the database and in the client PC become the same.
* The fileProductionProgramA.issis now in the checked-in state; it can be checked out again.
(2) Example B: Difference between Check outand Get
Check outa production program file :
Procedures are the same as of Example A; Click-hold on the production program file
ProductionProgramA.iss on the Program Explorer area, and drag and drop it on the
application area.
(* To “Check outa file, the file has to be in the checked-in state.)
Once you checked out the file, it is copied to the client PC, and Program Editor loads it
automatically.
Geta production program file :
Again drag and drop the same file “ProductionProgramA.iss”, which is currently in the
checked-out state; this operation is to “Get” the file.
(* To “Geta file by the drag-and-drop operation, the file has to be in the checked-out state.)
Figure17.9-4 “Geta production program file (drag and drop a file)
Every time when you “Get” a file, a message appears asking whether you want to “Get” the file
or not. Click <Yes> on the message box and specify a local path (location to store the file you
Get”) on the client PC.
(During the check out operation, this message does NOT appear; once the location is specified
on a client PC, the system always uses the same location to have a checked-out file.)
The state of the file
changed; it has
been checked in.