

Running a Program Under TCF › Starting a New Session
Starting a New Session
To start a new session under TCF, perform the following steps:
- Check the following fields for data:
- UCE-INPUT-POINTER-02 typically points to syntax to be used to start a new session of your application. To determine the data length, refer to UCE-INPUT-LENGTH-02.
- UCE-ENTITY-OCCURRENCE-02 contains an entity name to be used to start a new session of your application. To determine the version number, refer to UCE-ENTITY-OCCUR-VER-02.
If either of these fields contains data, you should start a new session as specified by the passed data.
- Check the UCE-NEXT-TASK-FLAG-02 field and perform processing as follows:
- If N (new) is specified, you should start a new session using the DBNAME and NODENAME fields from the UCE.
- If O (old) is specified, you should resume the previously suspended session as explained in Resuming a Suspended Session.
- Perform processing, as required.
- When processing is complete, move 'P' (pseudoconverse) to UCE-CURR-TASK-FLAG-02 to indicate to TCF that a pseudoconverse is to take place.
- Issue a DC RETURN statement.
Copyright © 2013 CA.
All rights reserved.
 
|
|