Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages

Shopping Cart
Shopping Cart


Free Newsletter


Privacy Policy

FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.


 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

ZonedDecToNumString ( numberIn ; decimalPlaces )

Rate this function:  

  Average rating: 4.1  (52 votes)
  Discuss this Custom Function

Jeff Hoffman, A Byte of Data

Converts zoned decimal strings to decimal number strings.

Sample Input:
ZonedDecToNumString ( "00004867M" ; 2 )

ZonedDecToNumString ( "00012792{" ; 2 )
Sample Output:


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed


EBCDIC was devised in 1963 and 1964 by IBM and was announced with the release of the IBM System/360 line of mainframe computers. It was created to extend the Binary-Coded Decimal encoding that existed at the time. It is an 8-bit character encoding, in contrast to, and developed separately from, the 7-bit ASCII encoding scheme. Interestingly, IBM was a chief proponent of the ASCII standardization committee. However, IBM did not have time to prepare ASCII peripherals (such as card punch machines) to ship with its System/360 computers, so the company settled on EBCDIC at the time. At the time it was devised, EBCDIC made it relatively easy to enter data into a computer with punch cards. Since punch cards are no longer used on mainframes, EBCDIC is used in modern mainframes solely for backwards compatibility. It has no real technical advantage over ASCII-based code pages, and there are some aspects of EBCDIC which make it much less pleasant to work with than ASCII (such as a non-contiguous alphabet). All IBM mainframe peripherals and operating systems (except Linux on zSeries or iSeries) use EBCDIC as their inherent encoding, so if you need to import data that was exported from an IBM mainframe system, you may need to convert zoned decimal numbers to ASCII so that it is usable by other systems. Modern mainframes (such as IBM zSeries) include processor instructions, at the hardware level, to accelerate translation between character sets.

Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it


5 most recent comments | Show all 6 comments

<a href="">&#12305;&#12304;& #36865;&#26009;&#28961;&#26009;&#12305;</a>
[url=]4N-H-E17[/url ]

June 13, 2015 1:18am

<a href="">&#12488;&#12288;&#124 73;&#12522;&#12512;&#12473;&#12463;&#12456;&#12450; </a>
7&#21475;&#37329;)&#12304;&#12450;&#12452;& amp;#12522;
[url=]7&#21475;&#3732 9;)&#12304;&#12450;&#12452;&#12522;[/url]

June 14, 2015 1:05am

<a href="">&#12452;&#12503;& amp;#12304;TC</a>
4&#12288;&#38651;&#29699;&#33394;& amp;#12479;

June 15, 2015 7:33am

<a href="">&#12480;&#12452;&#12499 ;&#12531;&#12464;</a>

June 15, 2015 2:46pm

<a href="">5&#12305;&#12304;&# 36865;&#26009;&#28961;&#26009;</a>
4&#26262;&#25 151;&#12305;&#12304;KZ

June 26, 2015 8:37am

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 7 + 4 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. sql.getTable ( fullyQualifiedFieldObject )
  (Thu, Feb 22, 8:36am)
2. sql.getField ( fullyQualifiedFieldObject )
  (Thu, Feb 22, 8:34am)
3. FilterOut ( ListA ; ListB )
  (Wed, Feb 21, 6:11pm)
4. Char0 ( )
  (Sun, Feb 18, 2:35am)
5. CreateVCardFile ( FirstName ; LastName ; CompanyName ; Phone ; Email ; WEB ; hAddress1 ; hAddress2 ; hZip ; hCity ; hCountry ; wAddress1 ; wAddress2 ; wZip ; wCity%2
  (Sun, Feb 18, 1:50am)
6. AccurateAge (start; end )
  (Tue, Feb 13, 5:41am)
7. fnParser_UnCertain(text;firstSymbol;secondSymbol;SN)
  (Mon, Feb 12, 11:10pm)
8. sql.whereInList.asList ( fqFieldToReturn ; fqFieldToMatch ; listOfValuesToMatch )
  (Wed, Feb 07, 2:03pm)

RSS Feed of Custom Functions