Software Venture Consulting

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

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


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:  

RatingRatingRatingRatingRating
  Average rating: 4.2  (52 votes)
  Discuss this Custom Function

Jeff Hoffman, A Byte of Data
http://www.abyteofdata.com

Converts zoned decimal strings to decimal number strings.

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

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

0001279.20


 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

Description:

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 BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Discuss:

5 most recent comments | Show all 6 comments

<a href="http://yannisrentacar.gr/">&#12305;&#12304;& #36865;&#26009;&#28961;&#26009;&#12305;</a>
4N-H-E17 http://phillipsrichard.com/
[url=http://phillipsrichard.com/]4N-H-E17[/url ]

4N-H-E17, wlfawswupgigmail.com
June 13, 2015 1:18am

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

7&#21475;&#37329;)&#12304;&#12450;&#12452;&#12522;, suupbpbhngmail.com
June 14, 2015 1:05am

<a href="http://webhostingromania.net/">&#12452;&#12503;& amp;#12304;TC</a>
4&#12288;&#38651;&#29699;&#33394;& amp;#12479; http://s-s-design.com/

4&#12288;&#38651;&#29699;&#33394;&#12479;, tmboygwrsusgmail.com
June 15, 2015 7:33am

<a href="http://gruptis.com/">&#12480;&#12452;&#12499 ;&#12531;&#12464;</a>
5-BK410 http://stretchwrapper.eu/

5-BK410, vkgtxeggmail.com
June 15, 2015 2:46pm

<a href="http://drcindyreed.com/">5&#12305;&#12304;&# 36865;&#26009;&#28961;&#26009;</a>
4&#26262;&#25 151;&#12305;&#12304;KZ http://alliedpalletco.com/

4&#26262;&#25151;&#12305;&#12304;KZ, azzblqscjrgmail.com
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:
City/Location:
Comment:
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 2 + 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. decFromHex ( hexValue )
  (Mon, Oct 16, 12:34pm)
2. MonthYearList ( startmonth ; startyear ; numbermonth ; short )
  (Mon, Oct 16, 3:38am)
3. ErrorDescription ( errorNumber )
  (Wed, Sep 27, 2:51am)
4. decodeEntities (text)
  (Wed, Sep 27, 1:22am)
5. HexidecimalToNumber ( HexidecimalValue ; counter )
  (Mon, Sep 25, 12:39pm)
6. FixedFieldConverter ( Fieldname ; f1 ; f2 ; f3 ; f4 ; f5 ; f6 ; f7 ; f8 ; f9 ; f10 ; f11 ; f12 ; f13 ; f14 ; f15 ; f16 ; f17 ; f18 ; f1
  (Fri, Sep 15, 12:34pm)
7. ShannonEntropy ( text )
  (Thu, Sep 07, 5:59am)
8. LetterCount ( text ; summary )
  (Thu, Sep 07, 5:53am)

RSS Feed of Custom Functions