SourceForge.net Logo   Record Editor    Support This Project

Mainframe, Binary files
 

Mainframe, Binary files

In jEdit a binary file like a 4680/4690-Register price change file looks like

Table View - Binary file

While in the RecordEditor Table-View, binary fields are converted to there text equivalent. It looks like

 

Record View - Binary file

To display a singe record in record view (as below), press the button to the left of the row on the "Table View - Binary file" screen.

 

Mainframe

The Record-Editor now supports editing native Mainframe Files on a PC. Only Fixed Block (RECFM=FB) files can be reliably transferred to and from the PC.

The system supports the following Mainframe-Binary formats
Format Cobol Picture Description
Zoned s999 Standard Cobol Pic s9(#) fields (where # is any number)
Packed Decimal s999 Comp-3 Packed Decimal
Binary s999 Comp Standard Mainframe Binary
Character XXX Standard Character fields

The system does not support Mainframe Floating point numbers (Cobol Comp-1 and Comp-2). Floating Point numbers are fairly rare in Cobol Programs.

Following is a Mainframe Binary File displayed on the Mainframe and in the RecordEdit Program on a PC.


File displayed in ISPF Edit

   Menu  Utilities  Compilers  Help

BROWSE T70BYM.WC020.FILE Command ===> ********************************* Top of Data * 69684558... .ð...........°. 69684558... .ð...........°. 69684558... .ð...........1 69694158... .ð...........°. 69694158... .ð...........°. 69694158... .ð...........1 63604808... .ð...........ç@ 62684671... .ðÇ*.........ræ



File displayed in Mainframe File-Aid

 COMMAND ===>                                                  SCROLL ===> DATA
        DTAR020-KEYCODE-NO DTAR020-STORE-NO DTAR020-DATE DTAR020-DEPT-NO
        8/AN               2/PS             4/PS         2/PS
        (1-8)              (9-10)           (11-14)      (15-16)
        2----------------- 3--------------- 4----------- 5--------------       
 ****** ***************************** TOP OF DATA ******************-CAPS OFF-*
 000001 69684558                         20        40118             280
 000002 69684558                         20        40118             280
 000003 69684558                         20        40118             280
 000004 69694158                         20        40118             280
 000005 69694158                         20        40118             280
 000006 69694158                         20        40118             280       

The Data displayed in RecordEdit



Single record displayed on the Mainframe

 File-AID - Edit - T70BYM.WC020.FILE ------------------
 COMMAND ===>
 RECORD:      1                DTAR020-KCODE-STORE-KEY 
 ---- FIELD NUMBER/NAME ------ -FORMAT- ----+----1----+
                                10/GRP
   2 DTAR020-KEYCODE-NO          8/AN   69684558       
   3 DTAR020-STORE-NO            2/PS   20             
 4 DTAR020-DATE                  4/PS   40118          
 5 DTAR020-DEPT-NO               2/PS   280            
 6 DTAR020-QTY-SOLD              5/PS   1              
 7 DTAR020-SALE-PRICE            6/PS   19.00          

Single record displayed in RecordEdit


See Mainframe Notes for some getting started notes for manframe cobol.

 

RecordEditor at SourceForge Download Page Forums