Sign In
Upload
Manuals
Brands
Hp Manuals
Software
TACL
Hp TACL Manuals
Manuals and User Guides for Hp TACL. We have
1
Hp TACL manual available for free PDF download: Programming Manual
Hp TACL Programming Manual (235 pages)
Tandem Advanced Command Language
Brand:
Hp
| Category:
Software
| Size: 0.91 MB
Table of Contents
New and Changed Information
3
Table of Contents
5
About this Manual
11
Notation Conventions
15
Section 1 an Overview of TACL
17
Running the Examples in this Manual
17
Style Conventions
18
Exceptions to the Style Conventions
19
Conventions Specific to this Manual
19
Section 2 Developing TACL Programs
21
Choosing a Type of Variable
21
Defining Program Structure
22
Using Flow Control Functions
22
Figure 2-2. Performing a Bubble Sort with Nested #LOOP Statements
23
Figure 2-3. Deleting Files in a Subvolume
25
Nesting TACL Code
27
Saving Levels of Variables
28
Figure 2-4. Processing Macro Arguments
28
Exiting from Programs
29
Processing Character Data
29
Line and Character
30
Built-In Functions that Edit Variables by Line
30
Figure 2-5. Extracting a Volume Name from a Variable
32
Global Editing Commands
33
Table 2-2. Global Editing Commands
33
Figure 2-6. Retrieving Disk Names from DSAP
35
Additional Data Manipulation Capabilities
36
Table 2-3. Data Manipulation Functions
36
Data Types
37
Accessing Time Data
37
Timestamp Formats
37
Retrieving a Timestamp
38
Converting a Timestamp
39
Table 2-4. Timestamp Conversion Functions
39
Figure 2-7. Relationships between System Timestamps and TACL Functions
40
Figure 2-8. Relationships between #FILEINFO Timestamps and TACL Functions
41
Figure 2-9. Computing the Current Day
42
Figure 2-10. Converting Timestamps
43
Accessing Terminals
44
Defining Function Keys
44
Sending Escape Sequences to a Terminal
44
Figure 2-11. Sending Special Characters to a Screen
45
Figure 2-12. Displaying a Screen of Text
47
Figure 2-13. Locking a Terminal
48
Changing the TACL Prompt
49
Implementing Menus
50
Figure 2-14. Displaying a Menu
50
Debugging TACL Programs
52
Enabling the TACL Debugger
52
Debugger Commands
52
Table 2-5. _DEBUGGER Command Syntax
52
A Sample Debugging Session
53
Figure 2-15. Starting TEDIT from TACL
54
Index
57
How #ARGUMENT Works
59
Table 3-1. Functions that Support Arguments
59
Using #ARGUMENT
60
Figure 3-1. Processing Arguments
61
Examining the Contents of Arguments
65
Figure 3-2. Returning Characters from a Routine
65
Figure 3-3. Returning a Set of Characters from a Variable
66
Figure 3-4. Searching for Text
66
Parsing Arguments for a Caller
67
Figure 3-5. Counting Characters in a Variable
67
Figure 3-6. Moving Text between Variables
67
Figure 3-7. Assigning Values to Arguments
68
Figure 3-8. Sending Arguments to a Parsing Program
70
Returning Results
71
Figure 3-9. Converting Timestamps
71
Calling a Routine Recursively
72
Figure 3-10. Processing Arguments
72
Exiting from a Routine
73
Figure 3-11. Processing File Name Arguments
73
Writing an Exception Handler
74
Types of Exception Handlers
75
Constructing an Exception Handler
75
Table 3-2. Functions that Support Exception Handlers
75
Creating a Release Exception Handler
76
Figure 3-12. Sample Release Handler Template
76
Table 3-3. Differences between Keep and Release Exception Handlers
76
Figure 3-13. Sample Release Handler
77
Figure 3-14. Returning Information from a Release Handler
78
Creating a Keep Exception Handler
80
Figure 3-15. Sample Keep Exception Handler
81
Figure 3-16. Sample Command Shell
83
Combining Keep and Release Handlers
86
Figure 3-17. Using Nested Keep and Release Handlers (Page 1 of 2)
87
Section 3 Developing TACL Routines
57
Processing Arguments
57
Section 4 Accessing Files
89
REQUESTER Operation
89
Requesting Waited Reads
90
Table 4-1 Functions Used with #REQUESTER
90
Figure 4-1 Performing a Waited Read
91
Requesting Nowaited Reads
92
Figure 4-2 Performing a Nowaited Read
93
Requesting Waited Writes
94
Figure 4-3 Reading from a Terminal and Performing a Waited Write
95
Requesting Nowaited Writes
96
Figure 4-4 Reading from a Terminal and Performing a Nowaited Write
97
Copying Records between Files
98
Figure 4-5 Copying Records from One File to Another File
98
Comparing Files
100
Figure 4-6 Comparing Two Files
101
Listing a File
104
Figure 4-7 Listing a File
104
Figure 4-8 TACLLIST Output
108
Section 5 Initiating and Communicating with Processes
109
Initiating a Process
110
Using RUN and #NEWPROCESS Options
110
Table 5-1 RUN and #NEWPROCESS Communication Options
110
Sending Information at Initiation Time
111
Communicating with a Process
112
Using the INLINE Facility
114
Table 5-2 INLINE Commands and Variables
114
Figure 5-1 Communicating with FUP
116
Figure 5-2 Building a Script
116
Table 5-3 Variables and Commands for INLINE Display
117
Figure 5-3 Retrieving Output from FUP
118
Figure 5-4 Omitting Terminal Output
119
Figure 5-5 Deleting PERUSE Jobs
120
Using INV and OUTV
122
Figure 5-6 Retrieving the TACL in File Name
123
Table 5-4 Functions and Options Used with INV and OUTV
123
Figure 5-7 Communicating with FUP Using INV and OUTV
125
Figure 5-8 Directing FUP Output to a Log File
126
Figure 5-9 Displaying PERUSE Jobs
127
Using $RECEIVE
129
Table 5-5 Functions to Use with $RECEIVE
129
Figure 5-10 Sending Messages to a Terminal
130
Figure 5-11 Creating CMON Messages
133
Using #SERVER
137
Figure 5-12 Communicating with FUP Using #SERVER
138
Using Define Process
139
Processing Completion Information
140
Processing Netbatch Jobs and Completion Codes
140
Figure 5-13 Checking Completion Codes
141
Monitoring Job Status ENQUIRY
143
Figure 5-14 Retrieving TACL Output
144
Section 6 Running TACL as a Server
147
Running a TACL Process as a Server
147
Starting TACL as a Server Process
147
Sending Requests to a TACL Server
148
Figure 6-1 Starting and Sending Requests to a TACL Server
148
Table 6-1 Functions that Support Interprocess Communication
148
Directing Output from TACL
150
Running TACL Code as a Server
151
Constructing a TACL Server
151
Using TACL as a Pathway Server
152
Figure 6-2 Running a TACL Program as a Server
153
Figure 6-3 Screen COBOL Code that Accesses a TACL Server
155
Figure 6-4 Configuring the Pathway Environment
157
Section 7 Using Programmatic Interfaces
159
Overview of SPI and EMS
159
Using SPI
162
Table 7-1 TACL Functions that Support SPI
162
Defining an SPI Buffer
163
Table 7-2 SPI Token Data Types
164
Using SPI Functions
167
Figure 7-2 Displaying the EMS Log
169
Using EMS
170
Communicating with EMS
170
Table 7-3 Functions that Support EMS
170
Generating an EMS Event
171
Figure 7-3 Generating an EMS Event
172
Section 8 Example of a System Management Program
175
Monitoring System Operation
175
Figure 8-1 Monitoring System Status
177
Section 9 Syntax Summary
189
TACL Commands and Functions
189
Built-In Functions and Variables
194
STRUCT Declarations
203
SET Summary
204
DELTA Command Summary
205
Appendix A Supplemental Information for D-Series Systems
207
Glossary
213
Advertisement
Advertisement
Related Products
HP INSIGHT DYNAMICS T8671-91017
HP T1936AA - Digital Sending Software
Hp T6553 D45
Hp T9576H01
HP TopTools
HP TeemTalk 5.0
HP ThinPrint .print
HP ThinPro 3.2
HP ThinPro
HP Mobile Printer Toolbox for Personal Digital Assistants
Hp Categories
Desktop
Laptop
Server
Monitor
Switch
More Hp Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL