# Micro Focus format files
#
# @(#)cobmagic.app	7.5
#
#  32-bit .gnt file - the magic number is actually in the .data section
#  but we can't offset to that, so we use the following constants.
20	string	.text			Micro Focus
>18	short	0x0304				Server Express
>18	short	0x0403				Server Express
>18	short	0x0204				COBOL
>18	short	0x0402				COBOL
>4	long	0				32-bit generated code file
>4	long	>0				unknown format file
>0	short	0x5903				for Alpha
>0	short	0x0A00				for IA64
>0	short	0x2903				for Intel x86
>0	short	0x2D03				for Intel x86
>0	short	0xAD03				for Intel x86
>0	short	0x3903				for Intel x86
>0	short	0x3D03				for Intel x86
>0	short	0xBD03				for Intel x86
>0	short	0x0501				for 390
>0	short	0x0900				for PA-RISC 1.1
>0	short	0x0700				for RS/6000
>0	short	0x0108				for SPARC
#
#  32-bit .lbr file and .int start the same - check .lbr first
0	string	Micro Focus COBOL Library 	Micro Focus 32-bit library file
0	string	Micro Focus 		Micro Focus 32-bit intermediate code file
#
#  Old 32-bit .int file
0	string	VS COBOL 		Micro Focus 32-bit intermediate code file
#
#  An incomplete/invalid 32bit .int file
0	string	Compilation not succ	Micro Focus 32-bit intermediate code file (incomplete/invalid)
#
#  An .idy file
0	string	Animator information file	Micro Focus 32-bit Animator information file
#
#  64-bit .gnt code - the magic is actually \0MRNGNT\0
1	string	MRNGNT			Micro Focus 64-bit generated code file
>8	short	0x0000				(incomplete/invalid)
>8	short	0x0501				for 390
>8	short	0x5903				for Alpha
>8	short	0x0A00				for HP/UX IA64
>8	short	0x000A				for Linux IA64
>8	short	0x0900				for PA-RISC 2.0
>8	short	0x0700				for AIX PowerPC
>8	short	0x0780				for Linux PowerPC
>8	short	0x0108				for SPARCV9
>8	short	0x010B				for Intel x86 (Unix)
>8	short	0x000B				for Intel x86 (Win64)
#
#  64-bit .int/.lbr/.idy code - the magic is actually \0MRNxxx\0
1	string	MRN			Micro Focus 64-bit
>4	long	0x4C425200			library file
>4	long	0x494E5400			intermediate code file
>4	long	0x49445900			Animator information file
>8	short	0x0000				(incomplete/invalid)
#
#  Keystroke (.key) files
14	string	 Session V		Micro Focus keystroke file
#
#  Screen recording (.scr) files
4	string	 Screen Recorder V	Micro Focus screen recording file
#
#  MFTRACE output file
4	string	MFTRACE 		Micro Focus trace file
>2	short	0x0000				(encoded)
>12	string	Text Emitter			(text)
#
# End of Micro Focus format files
#
