convert easytrive layout to COBOL FILE-CONTROL

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
pbc3199
Member
Posts: 1
Joined: Mon Nov 01, 2010 6:48 pm

convert easytrive layout to COBOL FILE-CONTROL

Post by pbc3199 » Mon Nov 01, 2010 7:08 pm

Hi all,
it's been 4 days I'm trying to convert the easytrieve data types to COBOL data type. but still unsuccessfull......need your help to convert the easytrieve layout to cobol......I have try many datatype in cobol like S9(N) comp-3 , 9(n) comp.....but still unsuccessfull.....i attached the easytrieve macro file

Code: Select all

FILE FJP141 
 
 MACRO                                                                   
 *------------------------------------------------------------*          
 * CASH ACCOUNT UPLOAD MTD FILE         *          
 *------------------------------------------------------------*          
 RP141-TXN                       1 1002 A                 
     RP141-KEY        1   10   A                 
       RP141-STATION-ID         RP141-KEY      4 A                 
           RP141-STSN-INST       RP141-STATION-ID    1 B 0               
           RP141-STSN-BRANCH  RP141-STATION-ID  +1   3 P                 
       RP141-TXN-DATE     RP141-KEY                      +4    4 U                 
       RP141-RECNUM       RP141-KEY      +8    2 B 0               
    RP141-TOT-REC                               11    2 B 0               
    RP141-ACC-REC                              13  990 A                 
       RP141-ACC-DTL      RP141-ACC-REC              10 A   OCCURS (99)   
          RP141-REV-CODE     RP141-ACC-DTL                4 B 0               
          RP141-TXN-AMT      RP141-ACC-DTL                 4 B 0               
          RP141-TXN-CNT      RP141-ACC-DTL                 2 B 0               
 MEND                                                                    

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Nov 15, 2010 4:41 pm

I saw one tool some years ago, never used it and do not remember details.
Link is still alive, and there could be some changes on site, I believe it would be better just try that page: http://www.gomel.iba.by/en/show/pages/1 ... rsion_tool

Another way to get to it: "mass-converson tool" : http://www.gomel.iba.by/en/show/pages/1 ... n_services
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others