10 Mar, 2023

how to convert packed decimal to numeric in cobol

Post by

Using Kolmogorov complexity to measure difficulty of problems? This test case will show the process for converting a zoned-decimal-numeric format to a display (or zoned-decimal) format. Any other questions, edit your question or ask in the comments and someone will try to answer them for you. The compiler (cobc) translates COBOL source to executable using intermediate C, designated C compiler and linker. You need two COBOL data structures, aka. CCURE 9000 AC9001 Installer/Maintainer Student Guide Appendix A 106. fPerformance Exam 1 (PE1) The scoring for Performance Exam 1 (PE1) is based on a three-part score. Now we are ready to execute the SSIS package and after it completes we can perform We have to add four columns Using V6.2 and ARCH(12), the compiler instead uses the vector packed-decimal facility, which accelerates packed and zoned decimal computation by storing intermediate results in vector registers instead . Making statements based on opinion; back them up with references or personal experience. what is happeing here is that the packed decimal is chopped in bytes and passed as an array. and added one to the 1oth digit and now i have a numeric field as below, IBMMainframes.com is not an official and/or affiliated with IBM. Also There are letter characters aside from sign character inside Comp-3 value, How to process mainframe numbers where "{" is the last character. Thanks for contributing an answer to Stack Overflow! decimal digits per byte in contrary of the Zoned number representation that holds Re: EZT - Data conversion from Alphanumeric to Packed decima. Script Component has encountered an exception in user code : Project name: SC_502c8f1c0d6b40d7929990353c01db83, at System.Data.SqlTypes.SqlDecimal.ConvertToPrecScale(SqlDecimal n, Int32 precision, Int32 scale), at Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetDecimal(Int32 columnIndex, Decimal value), at Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.set_Item(Int32 columnIndex, Object value), at Microsoft.SqlServer.Dts.Pipeline.ScriptBuffer.set_Item(Int32 ColumnIndex, Object value), at SC_502c8f1c0d6b40d7929990353c01db83.vbproj.ScriptMain.Input0_ProcessInputRow(Input0Buffer Row), at SC_502c8f1c0d6b40d7929990353c01db83.vbproj.UserComponent.Input0_ProcessInput(Input0Buffer Buffer), at SC_502c8f1c0d6b40d7929990353c01db83.vbproj.UserComponent.ProcessInput(Int32 InputID, PipelineBuffer Buffer), at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer). The sign indication is dependent on your operating environment. This example also illustrates how to display the actual hexadecimal (or Hex Dump) content of a numeric field using a callable dump routine. Calculation for length: PD= 5 bytes Length= ( (2 x PD) -1) = (2x 5) -1 = 9 bytes. Better idea please explain what you are trying to do. It is comp of some kind. This suite of programs is provided as a COBOL example of one of the possible solutions to the problem of determining the actual format, content and length of a numeric field and converting to a different format. packed field = packed field * 10. Now, on the Script Tab, press the Edit Script button. and a Script Component. You can download the SSIS package and the sample text file used for this "After the incident", I started to be more careful not to trip over things. The source field content is already in a display format. Posted: Tue Jun 16, 2009 7:18 pm. Connect and share knowledge within a single location that is structured and easy to search. If it is not, there will be an 0c7. available from SourceForge. Each picture character represents one . which is a slight modification to my previously posted code, has been tested and correctly adds 1 to the 10th digit -- same output as previously posted. This represents a number +6150000 with picture clause of S9(7) COMP-3. 01 DATAREC1NEW. You can't define your field decimals like that and use it in a COMPUTE. The Source Field is defined as a Packed (or COMP-3) field with 5 digits and zero decimal positions. This test case will show the process for converting a packed-numeric format to a display format. Add a comment. Each byte has two nibbles, and each nibble is indicated by a hexadecimal character. See comp-3, above. and view the COBOL source code for this numeric field conversion example. Why do you believe you want/need floating-point? When a text file contains packed numbers or any other kind of binary Since packed decimal data you can't read in the EDIT field, you can specify a format you want for display. The mask for the Result field will cause an explicit decimal point to be inserted. into the Output folder tree; those columns will be in where we will return the transformed for the negatives and an F for unsigned values. and view the COBOL source code for this numeric field conversion example. Sorry I am two years late :-( . 02 FILLER PIC X(72). For eg, WS-VAR S9 (3) COMP-3. One copybook for the source data structure and one for the new data structure. and view the COBOL source code for this numeric field conversion example. SSIS documentation about Data Types for the DT_STR type, you will see that Integration What about WS-NUM-STR consisting of a dummy field of pic x(9) and the value field of pic 9.999? What is the purpose of this D-shaped ring at the base of the tongue on my hiking boots? 02 FEC-AA PIC X(2). The decimal number representation of the input packed number. You need to programmatically account for it. The light-red boxes are unique to the SIMOTIME Technologies using a Linux, UNIX or Windows System and COBOL Technologies such as Micro Focus. Refer to WikiZero zgr Ansiklopedi - Wikipedia Okumann En Kolay Yolu According to our file definition, the data types for CustomerName and CustomerAddress Get position of character in collating sequence, Decimal value in an input file if the user inputs to it in COBOL. The next image may be used as a guide. In my previous tip, I introduced aspects to consider when importing data from Hope you could figure out. The spaces really do you a favor by causing the SOC7 (Numeric Exception) on the intermediate arithmetic fields. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Technologies. Yes, the above program uses an additional variable in the middle to convert numeric format to display format, but that is exactly how the language was designed. Beginning with version 4.1.1 of COBOL for AIX, during the conversion of a numeric data item to and from a packed-decimal data item, negative zero is no longer converted to positive zero. The Result Field is defined as a Display field with 7 digits and 2 decimal positions. The OUTPUT will contain the numeric data: BROWSE your.CONVERT.OUTPUT Line 0000000000 Col 001 080. the COBOL Routine for Example-302 I think the problem are in this columns : Actually Im usingbyte stream [DT_BYTES] format in flat file source andnumeric [DT_NUMERIC] in script component. and view the COBOL source code for this numeric field conversion example. Thanks for contributing an answer to Stack Overflow! a SELECT to the destination table and you will see that 1000 rows have been loaded Another instance of Visual Why does my COBOL working storage variable have trailing zeroes? Your email address will not be published. adding custom .NET code. The data structure contains ASCII or EBCDIC Text Strings and Numeric Values that use a Binary, Packed Decimal or Zoned Decimal format. This group of test cases will show the process for converting a packed-numeric format (COMPUTATIONAL-3 or COMP-3) to a text string or display format. display vars) ? The following is the WORKING-STORAGE definition for the source field. The Result Field is defined as a Display field with 5 digits and zero decimal positions. If you are running in CICS, you could use the BIF DEEDIT function -- that will leave you with "00.450". What is the purpose of this D-shaped ring at the base of the tongue on my hiking boots? The above internal table itab is passed to the Function module GUI_DOWNLOAD and the itab data is downloaded to a text file. The discussions include further detail about the issues and concerns of unsigned (or implied positive) numbers, signed (positive or negative) numbers and decimal or whole numbers. Anyhow thanks for your interest and response Gilbert. i have a packed decimal field which is redefined to a numeric field to add "1" to its tenth digit. A packed decimal representation stores decimal digits in each "nibble" of a byte. This test case will show the process for converting a binary numeric format to a display (or zoned-decimal) format. Now we need to drop into our package a Flat File Source, an OLEDB Destination Please suggest. With this you should be answered. This test case will show the process for converting a zoned-decimal-numeric format to a display format. Moving packed-decimal (PIC S9(11)V99 COMP-3) to zoned-decimal (PIC S9(11)V99) is completely valid - providing the comp-3 data is properly signed numeric. Refer to Thanks everyone for the replies..now i know more than one method that wud work. Thanks for your time How to convert a alphanumeric string into numeric decimal in COBOL, How Intuit democratizes AI development across teams through reusability. I tried the same, but didnt work. p,m,PD,TO=ZD converts the PD values to ZD values. This test case will show the process for converting a binary numeric format to a display (or zoned-decimal) format. Next is a table that reviews the functions and procedures used in this tip. 02 CAUSAL-OUT PIC X(3). > We need to convert this hex character to its decimal equivalent. if itab-netpr has a value of 1,234.56, i need to convert that to ' 123456'. It is provided "AS IS" without any expressed or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. If a user has a SimoTime Enterprise License the Documents and Program Suites may be available on a local server and accessed using the icon. I have to convert it. The fewer decimal positions of the result field will be rounded because of the ROUNDED keyword on the ADD statement. Software Agreement and Disclaimer. Refer to Each nybble (half-byte) of the field is a decimal value in binary, so. For example, the value 15 is stored in two nibbles, using the hexadecimal characters 1 and 5. How to use Slater Type Orbitals as a basis functions in matrix method correctly? 02 TRANS-OUT PIC X(4). warning: turn off your caps lock. the GnuCOBOL Technologies The fewer decimal positions of the result field will be rounded because of the ROUNDED keyword on the ADD statement. This document describes how packed decimal values (Computational-3) can be converted to numeric values via File Master using COBOL copybooks. Did any DOS compatibility layers exist for any UNIX-like systems before DOS started to become outmoded? I doubt you need to redefine the field. A suite of Windows command files is provided to run the jobs on a Windows System using Micro Focus COBOL technology. Zoned decimal equivalent in Syncsort for DB2 decimal datatyp by Prasanna G Thu Apr 16, 2015 7:46 am 5 Replies 2287 Views Last post by BillyBoyo Thu Apr 16, 2015 12:29 pm Packed Decimal Subtraction by krbnsol Mon Aug 01, 2022 12:26 pm 2 Replies 1038 Views Last post by sergeyken Mon Aug 01, 2022 10:37 pm This is an EBCDIC encoded environment. Packed numbers are amongst the hardest data sets to import into a SQL Server are Single Byte Unsigned Integer and Numeric with Precision 10 and Scale 2 respectively. The Source Field is defined as a Binary (or COMP) field with 5 digits and zero decimal positions. right! Business Intelligence Tips and Tricks, Merge multiple data sources with SQL Server Integration Services, Lookup and Cache Transforms in SQL Server Integration Services, How To Use the Unpivot Data Flow Transform in SQL Server Integration Services SSIS, How to make an SSIS Merge Join transformation fail safe from sorting irregularities, SSIS Multicast Transformation vs Conditional Split Transformation, Intelligent Conditional Split in an SSIS Package, Commonly made mistakes with SSIS Conditional Split Transform, Import multiple images to SQL Server using SSIS, Removing Duplicates Rows with SSIS Sort Transformation, SSIS - Configure a source flat file with a fixed width from an existing table, Importing Mainframe Data with SQL Server Integration Services, Export SQL Server Data with Integration Services to a Mainframe, Validate Numeric or Non-Numeric Data in SQL Server Integration Services without the Script Task, Synchronize Table Data Using a Merge Join in SSIS, Character Map Transformations in SQL Server Integration Services, Diagnose and Fix SSIS Performance Problems for ETL Loads, Troubleshoot New Line Breaks, Line Feeds and Carriage Returns in SSIS Flat File Destination, Date and Time Conversions Using SQL Server, Format SQL Server Dates with FORMAT Function, How to tell what SQL Server versions you are running, Rolling up multiple rows into a single row and column for SQL Server data, Resolving could not open a connection to SQL Server errors, SQL Server Loop through Table Rows without Cursor, Add and Subtract Dates using DATEADD in SQL Server, Concatenate SQL Server Columns into a String with CONCAT(), SQL Server Database Stuck in Restoring State, SQL Server Row Count for all Tables in a Database, Using MERGE in SQL Server to insert, update and delete at the same time, Ways to compare and find differences for SQL Server tables and data. According to the files record definition we will configure columns Name and Numeric formats include Binary, Packed Decimal and Zoned Decimal. Define a 2-byte alphanumeric variable (group or elementary). For the Nozomi from Shinagawa to Osaka, say on a Saturday afternoon, would tickets/seats typically be available - or would you need to book? The intent is to provide changes as the need arises and in a timeframe that is dependent upon the availability of resources. Length specified in Easytrieve always specifies the number of bytes occupied and not number of digits. Explore The Zoned-Decimal format for numeric data strings. For eg., i have alphanumeric string 'ABCDEF 0 0.450' and i need to get '0.450' as numeric decimal and do arithmetic on it. For this requirement an edited numeric result field may be used. Difference between "select-editor" and "update-alternatives --config editor". Refer to By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. tip: If you want to enrich your SSIS packages and make them look more professional, For example, the number 48 can be represented into a byte as If you are using a COBOL program, just move the packed decimal variable into a numeric field and then try to write to output file. The following PROCEDURE DIVISION statement shows how to convert from a PACKED to a DISPLAY (with SIGN TRAILING SEPARATE) numeric value. Moving packed-decimal (PIC S9(11)V99 COMP-3) to zoned-decimal (PIC S9(11)V99) is completely valid - providing the comp-3 data is properly signed numeric. The COBOL USAGE clause would be COMP, COMP-3 and DISPLAY. The Result field is also defined with a SIGN TRAILING SEPARATE that creates an additional byte to the field for the sign. Thats it! Considering that back in a day the cost for storage and memory was The following shows the picture (PIC) clause, how the item is displayed using the DISPLAY verb, the field as it is stored in memory for an EBCDIC environment, the field as it would be stored in memory for an ASCII environment. UnpackNibblesToBytes: Splits a byte into its composing . We specialize in preparing applications and the associated data that are currently residing on a single platform to be distributed across a variety of platforms. is there any way to fix this issue without making use of another variables (e.g. This program (NBRCVTC2.cbl) was written to show various techniques for converting between various Binary numeric field formats used on the mainframe and/or with the COBOL programming language. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. This suite of programs and documentation is available to download for review and evaluation purposes. Move packed field to X (05) (here I got value as x'0123450000') Converting packed to string:-. I just wanted to know, do we have any tool or utility through which we can do the same. My requirement is: i have fields of type packed decimal in my internal table itab. This link requires an Internet Connection. Get alphanumeric string redefined into two numeric fields to hold and process decimal part and integer part individually. The IBM Mainframe and the COBOL programming language support a variety of numeric formats and each has its advantages and disadvantages. A typical job script will contain multiple job steps executed in a predefined sequence. The following is the WORKING-STORAGE definition for the source field. The DISPLAY format may be referred to as a character or text format. If the sample program is executed in the PC, ASCII environment the following would be displayed and written to the SYSOUT file. . Will Gnome 43 be included in the upgrades of 22.04 Jammy? The following is the WORKING-STORAGE definition for the result field. representation. Refer to To change this to readable format, you need to convert these numbers into ZONED Decimal (ZD) format. This can be accomplished using SORT. 1) Simply using the move statement in the cobol prog. ** The last letter denotes the sign, C & F are positive, D is negative. The only method to get this done is to use a File Master Reformat data set, aka. data we cant handle its content as simple text anymore, we need to perform analysis A good place to start is The Micro Focus Web Site The naming of a job script is determined by the Operating System. Radial axis transformation in polar kernel density estimate. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. I took assembly and I think all numbers are whole numbers when they are packed the "V" is telling the compiler how to handle the number. The Source Field is defined as a Packed (or COMP-3) field with 6 digits and 3 decimal positions. after this it need be again converted back into packed decimal inorder to insert this field into a table. copybooks. For example, the value 15 is stored in two nibbles, using the hexadecimal characters 1 and 5. If I do not have a byte that is x'00' then the code works perfectly. How do/should administrators estimate the cost of producing an online introductory mathematics class? P stands for Packed - in Easytrieve variable declaration. The difference between the phonemes /p/ and /b/ in Japanese. This way we can have the decimal portion of the number separated from the full number. The zone and numeric digit of the rightmost byte of the zoned decimal number are reversed and placed in the . If an item declared as COMP-3, the item appears in storage in packed decimal format. The following is the WORKING-STORAGE definition for the source field. Here is a sort card to convert packed decimals to zoned decimals. > example, the single byte may contain X'A8'. The only difference is that my mainframe file has one packed field that looks like:1469, 300CI have the File connection manager set to DT_BYTES with an output column width of 4. The fewer decimal positions of the result field will be rounded because of the ROUNDED keyword on the ADD statement. This first patch isn't directly applicable to all the projects, but if this is approved then I have follow-on patches for gdb and binutils. SIMOTIME Services has experience in moving or sharing data or application processing across a variety of systems. The Result field is also defined with a SIGN TRAILING SEPARATE that creates an additional byte to the field for the sign. The Result field is also defined with a SIGN TRAILING SEPARATE that creates an additional byte to the field for the sign. In most of the scenarios, your input file has data either in Packed decimal (COMP-3) format or Binary (COMP) format which is not in readable format. Dictionary debit type category debit value debit, to debit, to debit-side settlement debit/credit amount debited interest debiting and crediting an account debits debits and credits debits/credits indicator debt discount debt instrument debt instrument debt register debt to total capital debt-equity ratio debtor debug debugging debugging . one with a leading sign and a decimal point). Re: convert 1 BYTE binary to decimal in cobol. You can use p,m,f,TO=f or p,m,f,f to convert from various numeric formats to various other numeric formats. 02 FEC-DD PIC X(2). Not the answer you're looking for? A simple job script may contain a single job step that performs a single function. The following (NBRCVTJ2.jcl) is a sample of the ZOS oriented JCL needed to run this job in a Mainframe-oriented environment. Is there an existing gem or script that converts numbers to comp-3/packed decimal format? 01 WS-ZONED-DECIMAL PIC S9 (11)V99. Use DECIMAL ( i + d, d) or NUMERIC ( i + d, d) If a host variable includes an indicator variable, the SQLTYPE value is the base . we need to select DT_BYTES as the Data Type; and 1 and 6 for its lengths Given that your input field length is 11, what output would you expect for an input like this? This document will describe and demonstrate the conditional processing of individual string types within a data structure based on a COBOL copy file that defines the data structure. Is there an existing gem or script that converts comp-3/packed decimal format to number? a mainframe environment to SQL Server. The lower nibble of the last byte has 13 if the number is negative, and something else, (usually 12) if positive. For detailed information on DFSORT's numeric conversion parameters, see z/OS DFSORT Application Programming Guide. What video game is Charlie playing in Poker Face S01E07? :http://www.microsoft.com/en-us/download/details.aspx?id=20397. Services. After I import the binary file, and choose DT_STR as data type and add the field to the VB script, the output looks just like the weird binary characters in the file. The nature of simulating nature: A Q&A with IBM Quantum researcher Dr. Jamie We've added a "Necessary cookies only" option to the cookie consent popup. DW_OP constants to strings. Moved '12345 ' to numeric field 9 (09) move numeric field 9 (09) to packed field S9 (10) COMP-3. Processors such as the IBM 370 family, the PDP-10, the Motorola microprocessor family, and most of the various RISC architectures are big-endian. The actual number of bytes occupied in the file is about half of that bytes. For more information about the Hex-Dump format refer to the Hexadecimal Dump Format section of this document. do so, just right click on the Flat File Source and select Show Advanced Editor This example also illustrates how to display the actual hexadecimal (or Hex Dump) content of a numeric field using a callable dump routine. The sign indication is dependent on your operating environment. How would "dark matter", subject only to gravity, behave? Studio Editor gives us a Class Template to add our code onto it. 18 digits requires 9 bytes, the sign is the low nybble of the low order byte. You do not need to divide by 1000. COMP-3 fields length is calculated as number of digits that we need to store + 1 divided by 2. Redefine the 2-byte alphanumeric variable as PIC S9 (04) COMP. for more information about products (including Micro Focus COBOL) and services available from Micro Focus. To learn more, see our tips on writing great answers. You can use LENGTH=n to override the default output length. Use the language as it was intended to be used. Explore the COBOL Connection for more examples of COBOL programming techniques and sample code. Coming to redefining with value field of PIC 9.999 doesnt work because 9.999 is a picture edited type, which will be useful for displaying/output purpose and will still not be able to do the required arithmetic. I added a brief description The last digit goes in the upper nibble of the last byte. I believe, the receiving fields should be 'STRING's too. The actual representation which we want is: To achieve this, the SYSIN of SORT should be: Drop a comment below if you face any problem using the above example. Connect and share knowledge within a single location that is structured and easy to search. This video shows the format in which numeric data is stored in Zoned decimal (conventional) and packed decimal (COMP-3) format. The following is the WORKING-STORAGE definition for the result field. 02 FIELD1-PCK PIC 9(08)V99 COMP-3. the record definition) for the file of the previous step. at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e) at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer. The Source Field is defined as a Packed (or COMP-3) and the result fields are "USAGE IS DISPLAY" or a numeric edited field. Connect and share knowledge within a single location that is structured and easy to search. 02 OPERADOR-OUT PIC X. The function delivered in this version is based upon the enhancement requests from a specific group of users. You are right, the issue is in that definition. 03 AMOUNT PIC S9(11)V99 COMP-3. Styling contours by colour and by line thickness in QGIS, Equation alignment in aligned environment not working properly, Implement Seek on /dev/stdin file descriptor in Rust. The following shows how the numeric fields would be defined in a COBOL WORKING-STORAGE SECTION. For the Nozomi from Shinagawa to Osaka, say on a Saturday afternoon, would tickets/seats typically be available - or would you need to book? sample database as on the next image. When you write a packed field to a WORK file, the output record will contain the field in packed format. 359 , Road No. The following is the WORKING-STORAGE definition for the source field. After adding the columns we have to configure the output data types for each Copyright (c) 2006-2023 Edgewood Solutions, LLC All rights reserved This following three (3) COBOL programs show the level of detail required to convert a numeric field. The fewer decimal positions of the result field will cause the numeric value to be truncated. The following PROCEDURE DIVISION statement shows how to convert from a PACKED to a DISPLAY (or unsigned Zoned-Decimal) numeric value. We reserve the right to make changes without notice at any time. The other two fields are already odd lengths, so when packed, with the sign, they can be stored in an even length amount of space. The following PROCEDURE DIVISION statement shows how to convert from a BINARY to a DISPLAY (or unsigned Zoned-Decimal) numeric value. Else please lemme know if that was not you were looking at. I am creating an SSIS package to read in unpacked data from a series of copybook files. Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide, Interpreting COMP-3 Packed Decimal Fields into numeric values, http://jrecord.cvs.sourceforge.net/viewvc/jrecord/jrecord/src/net/sf/JRecord/Common/Conversion.java?revision=1.2&view=markup, How Intuit democratizes AI development across teams through reusability. Therefore, adjustments may be needed to execute the jobs and programs when transferred to a system of a different architecture or configuration. If you are not running in CICS, assume you have your string in a field called WS-STR: Thanks for contributing an answer to Stack Overflow! FIELD-NAME-2: 11 If the spaces were not there, the ABCDEF would not give you a problem, but would not give you the results you expect as the would be erroneously interpreted as digits. AC Op-amp integrator with DC Gain Control in LTspice, Follow Up: struct sockaddr storage initialization by network format-string, How do you get out of a corner when plotting yourself into a corner, Trying to understand how to get this basic Fourier Series.

Buell Wrecking Australia, Milwaukee Fire Department Address, Glynn Turman Wife, Articles H

how to convert packed decimal to numeric in cobol

how to convert packed decimal to numeric in cobol

instagram sample

how to convert packed decimal to numeric in cobol

how to convert packed decimal to numeric in cobol

how to convert packed decimal to numeric in cobol

how to convert packed decimal to numeric in cobol

how to convert packed decimal to numeric in cobol You might also Like

Post by

how to convert packed decimal to numeric in cobolsheffield united academy category

old world console commands

Post by pamela

how to convert packed decimal to numeric in cobolwhat happened to carol marie hilley

randy rogers wife, chelsea

Post by pamela

how to convert packed decimal to numeric in cobolseeing things out of the corner of my eye anxiety

rlcraft potion core

Post by pamela

how to convert packed decimal to numeric in coboljason abraham mendota ranch net worth

how to find moles of electrons transferred

how to convert packed decimal to numeric in cobolSubscribe
to my newsletter