Chapter 23. Subroutines, Example Programs, and Libraries . . . . . . . . . . . . . . . 477
128-Bit Long Double Floating-Point Data Type . . . . . . . . . . . . . . . . . . . . . 478
List of Character Manipulation Subroutines . . . . . . . . . . . . . . . . . . . . . . 480
List of Executable Program Creation Subroutines . . . . . . . . . . . . . . . . . . . . 481
List of Files and Directories Subroutines . . . . . . . . . . . . . . . . . . . . . . . 481
List of FORTRAN BLAS Level 1: Vector-Vector Subroutines . . . . . . . . . . . . . . . . 483
List of FORTRAN BLAS Level 2: Matrix-Vector Subroutines . . . . . . . . . . . . . . . . 483
List of FORTRAN BLAS Level 3: Matrix-Matrix Subroutines . . . . . . . . . . . . . . . . 484
List of Numerical Manipulation Subroutines . . . . . . . . . . . . . . . . . . . . . . 484
List of Long Long Integer Numerical Manipulation Subroutines . . . . . . . . . . . . . . . 485
List of 128-Bit Long Double Numerical Manipulation Subroutines . . . . . . . . . . . . . . 485
List of Processes Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
List of Multi-threaded Programming Subroutines . . . . . . . . . . . . . . . . . . . . . 488
List of Programmer’s Workbench Library Subroutines . . . . . . . . . . . . . . . . . . . 490
List of Security and Auditing Subroutines . . . . . . . . . . . . . . . . . . . . . . . 491
List of String Manipulation Subroutines . . . . . . . . . . . . . . . . . . . . . . . . 492
Programming Example for Manipulating Characters . . . . . . . . . . . . . . . . . . . 493
Searching and Sorting Example Program . . . . . . . . . . . . . . . . . . . . . . . 495
List of Operating System Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . 498
librs2.a Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Chapter 24. System Management Interface Tool (SMIT) . . . . . . . . . . . . . . . . . 501
SMIT Screen Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
SMIT Object Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
SMIT Aliases and Fast Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
SMIT Information Command Descriptors . . . . . . . . . . . . . . . . . . . . . . . 508
SMIT Command Generation and Execution . . . . . . . . . . . . . . . . . . . . . . 510
Adding Tasks to the SMIT Database . . . . . . . . . . . . . . . . . . . . . . . . . 512
Debugging SMIT Database Extensions . . . . . . . . . . . . . . . . . . . . . . . . 513
Creating SMIT Help Information for a New Task . . . . . . . . . . . . . . . . . . . . . 513
sm_menu_opt (SMIT Menu) Object Class . . . . . . . . . . . . . . . . . . . . . . . 514
sm_name_hdr (SMIT Selector Header) Object Class . . . . . . . . . . . . . . . . . . . 516
sm_cmd_opt (SMIT Dialog/Selector Command Option) Object Class . . . . . . . . . . . . . 518
sm_cmd_hdr (SMIT Dialog Header) Object Class . . . . . . . . . . . . . . . . . . . . 522
SMIT Example Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536
Chapter 25. System Resource Controller . . . . . . . . . . . . . . . . . . . . . . 537
Subsystem Interaction with the SRC . . . . . . . . . . . . . . . . . . . . . . . . . 537
SRC Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538
SRC Communication Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542
Programming Subsystem Communication with the SRC . . . . . . . . . . . . . . . . . . 545
Defining Your Subsystem to the SRC . . . . . . . . . . . . . . . . . . . . . . . . . 551
List of Additional SRC Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . 552
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
Chapter 26. Trace Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
The Trace Facility Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
Controlling the Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
Recording Trace Event Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
Generating a Trace Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
Extracting trace data from a dump . . . . . . . . . . . . . . . . . . . . . . . . . . 557
Trace Facility Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
Start the Trace Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
viii General Programming Concepts: Writing and Debugging Programs