Professional Documents
Culture Documents
defined within the program and the program reads its own input data
In an online system, often input/output and work areas are allocated by the
system itself, as needed and the system reads the data on behalf of its
application programs
Functionally the above products are compatible with each other, with certain
exceptions caused by the differences among their corresponding operating systems.
Like an OS controls the jobs within a computer, so does CICS, the transactions
(application programs) within a single CICS job
CICS runs under the control of the OS
To the OS,CICS is a single task, operating in one partition or region of the system
A CICS job is submitted to the OS as any other batch job but as a long-running and
high priority job submitted to the OS as any other batch job
Cuts down the total amount of programming needed
provides on environment (control services) for the execution of application
programs
Supports a network of hundreds of terminals simultaneously
Includes interfaces to files and database products
To make the best use of the time and system resources that the OS gives to CICS, it
takes on itself some of the aspects of an OS
Doesn’t duplicate all of the services provided by the OS and in fact, asks the
underlying OS to serve its tasks, as and when required.
and
provides control services for online processing
Preprocesses the application source code and translates CICS commands into
CALL statements in the language of the application program
A task (A) which uses a program has exclusive use of the CPU resource.
Another task (B) which tries to use the same program interrupts CICS.
At the interruption time in the program (in between two CICS calls), CICS
suspends from task (A) after saving its status.
It then executes other task(B) which also uses the same program.
For both the tasks (I.e A and B) to use same program it should be reentrant.
The terminal operator enters a TRANSID in order to start a transaction the
TRANSID is matched against the PCT to determine if it is a valid entry.
PCP knows if there are any tasks currently using the same program form the value of
counter
Example If use counter is 2 then two users are using the same program
If use counter is zero then the corresponding program is released from
main memory
Example
The CICS sign-on screen
The above screen has a number of fields, although only three of the characters are
displaying the data
is protected – I.e. the terminal operator cannot type over that area of the screen
is also protected
* The third field
-------
is unprotected- I.e. the user can type in that area
In the above screen this fields 20 positions long (even though it is not visible)
The fourth field