Copyright © 2011-2023 Fidelity National Information Services, Inc. and/or its subsidiaries. All rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
GT.M™ is a trademark of Fidelity National Information Services, Inc. Other trademarks are the property of their respective owners.
This document contains a description of GT.M and the operating instructions pertaining to the various functions that comprise the system. This document does not contain any commitment of FIS. FIS believes the information in this publication is accurate as of its publication date; such information is subject to change without notice. FIS is not responsible for any errors or defects.
December 03, 2024
Revision History | ||
---|---|---|
Revision V7.1-006 | 03 December 2024 | Updated the following chapters for V7.1-006: |
Revision V7.1-005 | 18 September 2024 | Updated the following chapters for V7.1-005: |
Revision V7.1-004 | 27 June 2024 | Updated the following chapters for V7.1-004: |
Revision V7.1-003 | 23 November 2023 | Updated the following chapters for V7.1-003: |
Revision V7.1-002 | 19 September 2023 | Updated the following chapters for V7.1-002: |
Revision V7.1-001 | 26 June 2023 | Updated the following chapters for V7.1-001: |
Revision V7.1-000 | 04 April 2023 | Updated the following chapters for V7.1-000: |
Revision V7.0-005 | 02 December 2022 | Updated the following chapters for V7.0-005: |
Revision V7.0-004 | 20 September 2022 | Updated the following chapters for V7.0-004: |
Revision V7.0-003 | 24 June 2022 | Updated the following chapters for V7.0-003: |
Revision V7.0-002 | 23 March 2022 | Updated the following chapters for V7.0-002: |
Revision V7.0-001 | 24 November 2021 | Updated the following chapters for V7.0-001: |
Revision V7.0-000 | 12 February 2021 | Updated the following chapters for V7.0-000: |
Revision V6.3-014 | 06 October 2020 | Updated the following chapters for V6.3-014: |
Revision V6.3-013 | 30 June 2020 | Updated the following chapters for V6.3-013: |
Revision V6.3-012 | 08 April 2020 | Updated the following chapters for V6.3-012: |
Revision V6.3-011 | 20 December 2019 | Updated the following chapters for V6.3-011: |
Revision V6.3-010 | 31 October 2019 | Updated the following chapters for V6.3-010: |
Revision V6.3-009 | 27 June 2019 | Updated the following chapters for V6.3-009: |
Revision V6.3-008 | 24 April 2019 | Updated the following chapters for V6.3-008: |
Revision V6.3-007 | 04 February 2019 | Updated the following chapters for V6.3-007: |
Revision V6.3-006 | 26 October 2018 | Updated the following chapters for V6.3-006: |
Revision V6.3-005 | 29 June 2018 | Updated the following chapters for V6.3-005: |
Revision V6.3-004 | 23 March 2018 | Updated the following chapters for V6.3-004: |
Revision V6.3-003 | 12 December 2017 | Updated the following chapters for V6.3-003: |
Revision V6.3-002 | 22 August 2017 | Updated the following chapters for V6.3-002: |
Revision V6.3-001 | 20 March 2017 | Updated the following chapters for V6.3-001: |
Revision V6.1-000 | 28 August 2014 | Updated for V6.1-000. For chapter-specific revisions, refer to Chapter 2: “GT.M Language Extensions”, Chapter 6: “Commands”, Chapter 7: “Functions”, Chapter 8: “Intrinsic Special Variables”, Chapter 9: “Input/Output Processing”, and Chapter 11: “Integrating External Routines”. |
Revision V6.0-003 | 24 February 2014 | Updated for V6.0-002 and V6.0-003. For chapter-specific revisions, refer to Chapter 3, Development Cycle, Chapter 6: “Commands”, Chapter 7: “Functions”, Chapter 8: “Intrinsic Special Variables”, Chapter 9: “Input/Output Processing”, Chapter 11: “Integrating External Routines” and Chapter 13: “Error Processing”. |
Revision V6.0-001 | 21 March 2013 | Updated for V6.0-001. For chapter-specific revisions, refer to Chapter 3, Development Cycle, Chapter 5: “General Language Features of M”, Chapter 6: “Commands”, Chapter 7: “Functions”, Chapter 9: “Input/Output Processing”, Chapter 10: “Utility Routines”, Chapter 11: “Integrating External Routines”, and Chapter 13: “Error Processing”. |
Revision V6.0-000 | 19 November 2012 | Updated for V6.0-000. For chapter-specific revisions, refer to Chapter 6: “Commands” and Chapter 9: “Input/Output Processing”. |
Contents
- About This Manual
- 1. About GT.M
- 2. GT.M Language Extensions
- 3. Development Cycle
- 4. Operating and Debugging in Direct Mode
- Operating in Direct Mode
- Debugging a Routine in Direct Mode
- Creating and Displaying M Routines
- Executing M Routines Interactively
- Processing with Run-time and Syntax Errors
- Correcting Errors
- Stepping Through a Routine
- Continuing Execution From a Breakpoint
- Interrupting Execution
- Using the Invocation Stack in Debugging
- Transferring Routine Control
- Displaying Source Code
- Correcting Errors in an M Routine
- Relinking the Edited Routine
- Re-executing the Routine
- Using Forked Processes
- Summary of GT.M Debugging Tools
- 5. General Language Features of M
- 6. Commands
- 7. Functions
- $ASCII()
- $Char()
- $Data()
- $Extract()
- $Find()
- $FNumber()
- $Get()
- $Increment()
- $Justify()
- $Length()
- $NAme()
- $Next()
- $Order()
- $Piece()
- $Qlength()
- $QSubscript()
- $Query()
- $Random()
- $REPLACE()
- $REverse()
- $Select()
- $STack()
- $Text()
- $TRanslate()
- $View()
- $ZAHandle()
- $ZAscii()
- $ZATRansform
- $ZAUditlog
- $ZBIT Functions
- $ZCHar()
- $ZCOLlate()
- $ZCOnvert()
- $ZDATA()
- $ZDate()
- $ZExtract()
- $ZFind()
- $ZGetjpi()
- $ZJOBEXAM()
- $ZJustify()
- $ZLength()
- $ZMessage()
- $ZPARSE()
- $ZPIece()
- $ZPEEK()
- $ZPrevious()
- $ZREPLACE()
- $ZSOCKET()
- $ZSYSLOG()
- $ZQGBLMOD()
- $ZSEARCH()
- $ZSIGPROC()
- $ZSUBstr()
- $ZTRanslate()
- $ZTRIgger()
- $ZTRNLNM()
- $ZWidth()
- $ZWRite()
- 8. Intrinsic Special Variables
- $Device
- $ECode
- $EStack
- $ETrap
- $Horolog
- $IO
- $Job
- $Key
- $Principal
- $Quit
- $Reference
- $STack
- $Storage
- $SYstem
- $Test
- $TLevel
- $TRestart
- $X
- $Y
- $ZA
- $ZALlocstor
- $ZAUDit
- $ZB
- $ZCHset
- $ZCLose
- $ZDAteform
- $ZCMdline
- $ZCOmpile
- $ZCstatus
- $ZDirectory
- $ZEDit
- $ZEOf
- $ZError
- $ZGbldir
- $ZHorolog
- $ZICUver
- $ZINInterrupt
- $ZINTerrupt
- $ZIO
- $ZJob
- $ZKey
- $ZLevel
- $ZMALLoclim
- $ZMAXTPTIme
- $ZMOde
- $ZONLNrlbk
- $ZPATNumeric
- $ZPIN
- $ZPOSition
- $ZPOUT
- $ZPROMpt
- $ZQuit
- $ZREalstor
- $ZRELdate
- $ZROutines
- $ZSOurce
- $ZStatus
- $ZSTep
- $ZSTRPllim
- $ZSYstem
- $ZTExit
- $ZTIMeout
- $ZTrap
- $ZUSedstor
- $ZUT
- $ZVersion
- $ZYERror
- Triggers ISVs
- 9. Input/Output Processing
- 10. Utility Routines
- 11. Integrating External Routines
- 12. Internationalization
- Collation Sequence Definitions
- Creating the Alternate Collation Routines
- Transformation Routine (gtm_ac_xform_1 or gtm_ac_xform)
- Inverse Transformation Routine (gtm_ac_xback or gtm_ac_xback_1)
- Transform Utility Routine (gtm_ac_xutil)
- Version Control Routines (gtm_ac_version and gtm_ac_verify)
- Using the %GBLDEF Utility
- Example of Upper and Lower Case Alphabetic Collation Sequence
- Example of Collating Alphabets in Reverse Order using gtm_ac_xform_1 and gtm_ac_xback_1
- Implementing an Alternative Collation Sequence for Unicode® characters
- Matching Alternative Patterns
- 13. Error Processing
- 14. Triggers
- A. M Coding Standards - Do's and Don'ts