10-01-2013
Thanks for the reply.
Can i have the perl script which does the conversion from packed decimal to normal format
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do we create a text file with COBOL "Packed Decimal" value in UNIX ? (1 Reply)
Discussion started by: gaddeg
1 Replies
2. Shell Programming and Scripting
I want to convert an ebcidic( variable length) file to ascii.
Is it possible to do it using a unix scripting.if so, how (7 Replies)
Discussion started by: rintingtong
7 Replies
3. Shell Programming and Scripting
can anyone get a script for converting EBCIDIC data to Unix ina file.. in shell...
thanks in advance! (3 Replies)
Discussion started by: bourne
3 Replies
4. UNIX for Dummies Questions & Answers
By using dd command in Unix one can convert EBCDIC file into ASCII. It fails when it comes to having packed decimals within the EBCDIC file. The resultant of it has garbage chars.
How can we have EBCDIC file convertedinto ASCII, which has packed decimal data in it?
Thanks in advance. (3 Replies)
Discussion started by: videsh77
3 Replies
5. Shell Programming and Scripting
Hi all,
I need help on above said subject.
I have a flat file which is in EBCDIC format,i want to convert into ASCII fromat using 'MFSORT'. file contains COMP-3 value in some positions.
Can you please provide the SCRIPT SYNTAX.(assume that file is of 80 byte length and it is having COMP-3... (2 Replies)
Discussion started by: vijayakumarg
2 Replies
6. Shell Programming and Scripting
Hi,
I am trying to find if there is a way to convert regular decimal values to Paced decimal values. I tried to find a c program but I could get a Packed converted to regular decimal not the other way round.
If not unix please let me know if any other progrimming language I can use to do... (2 Replies)
Discussion started by: mgirinath
2 Replies
7. UNIX for Dummies Questions & Answers
I am having trouble viewing these files from my unix session. vi comes back with line too long. Also an m_dump with the relevant dml comes back with problems.
How can I view this as a text file? Also is there an easy way to view specific records within. Eg I have a policy id (4 Replies)
Discussion started by: trek88
4 Replies
8. Shell Programming and Scripting
Hi All,
Please let me know if it is possible to convert data from ASCII to Packed Decimal through Unix?
Basically we have ASCII file with numeric data we want to convert that files data to Packed decimal format to send it to main frame.
Please let me know if we can do it through unix script.... (1 Reply)
Discussion started by: aloktiwary
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I'm having a general query. If we do cat <file name> on a Ebcidic format file then many unknown characters are displayed in my screen.
Can we change the character set related to EBCIDIC in session level and apply the cat command on a EBCIDIC file? By doing so can we able to see the... (2 Replies)
Discussion started by: poova
2 Replies
10. Shell Programming and Scripting
Hi All,
I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting?
Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
LEARN ABOUT DEBIAN
dbfcreate
SHAPELIB(1) User Commands SHAPELIB(1)
NAME
dbfcreate - Create an empty xBase DBF file
SYNOPSIS
dbfcreate filename[[-s fieldname width] | [-n fieldname width decimals]]...
DESCRIPTION
Creates an empty DBF file called filename with columns described by all the -s and -n options that follow.
OPTIONS
-s fieldname width
adds a column named fieldname taking textual values of at most width characters.
-n fieldname width decimals
adds a column named fieldname taking numeric values of at most width digits and precision of at most decimals decimal places. The
number of digits of precision should be included in width.
EXIT STATUS
0 Successful program execution.
1 Missing filename argument.
2 Failed to create the file filename for writing.
3 Missing fieldname,width, or decimals argument for a -s or -n option.
4 Failed to add a column given by a -s or -n option.
DIAGNOSTICS
The following diagnostics may be issued on stdout:
DBFCreate(filename) failed.
DBFAddField(fieldname,FTString,width,0) failed.
DBFAddField(fieldname,FTDouble,width,decimals) failed.
Argument incomplete, or unrecognised: arg
AUTHORS
Frank Warmerdam (warmerdam@pobox.com) is the maintainer of the shapelib shapefile library. Joonas Pihlaja (jpihlaja@cc.helsinki.fi) wrote
this man page.
SEE ALSO
dbfadd(1), dbfdump(1), dbf_dump(1), shpadd(1), shpcreate(1), shpdump(1), shprewind(1)
shapelib OCTOBER 2004 SHAPELIB(1)