Convert a file from VBA to FB

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
deepu
Member
Posts: 15
Joined: Fri Apr 24, 2009 10:40 am

Convert a file from VBA to FB

Post by deepu » Wed Nov 04, 2009 5:19 pm

Hi,

Can someone let me know how to convert a VBA file to a FB file?
Assume the length of VBA file is 133.

Thanks in Advance,
Deepu.

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Wed Nov 04, 2009 7:18 pm

Take a look at the section "VB to FB conversion" in the Smart DFSORT tricks guide.

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Wed Nov 04, 2009 10:07 pm

Deepu,

A VBA file has an RDW in positions 1-4, a carriage control character in position 5 and the data starting in position 6. Do you want to create an output file with RECFM=FB and LRECL=128 containing just the data padded with blanks on the right as needed? Or do you want something else for the output?
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

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