Search Results

Search: Posts Made By: joshilalit2004
16,668
Posted By rbatte1
We had a similar requirement to transfer vast...
We had a similar requirement to transfer vast amounts of data across a small network link from one site to another. We used PKZip from PKWare to achieve it. There is a cost to the software I think,...
16,668
Posted By jim mcnamara
Consider getting one of the mainframe coders to...
Consider getting one of the mainframe coders to write a small bit of ANSI COBOL. Use that to transform the packed data.

Here is a discussion of the COBOL needed.
Packed Decimal...
16,668
Posted By Don Cragun
If you have packed data on the server, your best...
If you have packed data on the server, your best bet will be to unpack the data on the server to a straight text format either in ASCII (if you can which won't require any further conversion after...
16,668
Posted By jim mcnamara
dd has built in ASCII - EBCDIC conversion. ...
dd has built in ASCII - EBCDIC conversion.

dd if=oldfile of=newfile conv=ascii gives you a file converted from EBCDIC to ASCII. The only caveat is: do you have packed decimal data (raw "binary"...
16,668
Posted By RudiC
A "mainframe" might supply differently coded...
A "mainframe" might supply differently coded files, e.g. EBCDIC. Try to transfer the file in binary mode and then convert it using e.g. iconv or recode.
36,058
Posted By Don Cragun
OK. So your data is NOT EBCDIC; it is some kind...
OK. So your data is NOT EBCDIC; it is some kind of "abinition" or "abinitio graph" (whatever they are) record format. Presumably the string fields were correctly converted by the dd command, but...
36,058
Posted By Don Cragun
And what happens when you try the other code I...
And what happens when you try the other code I suggested:
dd if=so_tran05.dat_bkp conv=ascii
36,058
Posted By Corona688
Is this actually EBCDIC? Or is it something like...
Is this actually EBCDIC? Or is it something like packed decimal?
36,058
Posted By Don Cragun
EBCDIC is a codeset; not a format. Two common...
EBCDIC is a codeset; not a format.
Two common utilities to convert from EBCDIC to ASCII or UTF-8 are
iconv -f fromcode -t tocode EBCDIC_input_file
(you can use iconv -l to get a list of fromcode...
942
Posted By Don Cragun
You could write a script that will run the other...
You could write a script that will run the other SB, SA, SC, and SD guaranteeing that SA completes before SC and SD start, allowing SB, SC, and SD to run in parallel, and guaranteeing that only one...
942
Posted By jim mcnamara
You are trying to set up something that allows...
You are trying to set up something that allows process synchronization. This is usually achieved using some kind of IPC mechanism (Inter-process communication). You can use a lockfile.

Let's have...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 08:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy