LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

I don't have access to a mainframe anymore, but I think that a lot of programs
that transfer from pc to mainframe convert characters along the way (broken
vertical bar becomes solid vertical bar, if I recall an example correctly).

If you get unlucky enough to have these ASCII characters in your data, you may
not get what you want on the mainframe.

I think if I had to do this, I'd transfer the data as plain old ASCII text and
then have a little COBOL program that would read in the data and write it in the
format I wanted.

You could even embed that step in your JCL(???) that you're running on the
mainframe.



ArnoldJansen wrote:

Is it possible for Excel to write a dataset with specific formatting:
This dataset has to be transferred to a mainframe, and there they use
computaional fields, packed decimal fields, just like Cobol does.
Is it possible (and how) to convert data from an Excel sheet into these
formats before writing this dataset to our mainfarame?
Example of the Cobol-layout of the data the mainframe needs to have in
this dataset:

01 VERA-AANLEVERING-VOORLOOP.
03 RE-RECORD-TYPE PIC X(02).
03 RE-BRONNAAM PIC X(08).
03 RE-AANLEVER-NUMMER USAGE PACKED-DECIMAL
PIC
S9(08)V.
03 RE-VALUTAJAAR USAGE PACKED-DECIMAL
PIC
S9(04)V.
03 RE-AANLEVER-DATUM PIC X(08).
03 RE-PERIODE-NUMMER USAGE COMP-5
PIC
S9(04).
03 RE-VOLGNUMMER USAGE COMP-5
PIC
S9(04).
03 RE-AANLEVER-OMS PIC X(40).
03 FILLER PIC X(10).

--
ArnoldJansen
------------------------------------------------------------------------
ArnoldJansen's Profile: http://www.excelforum.com/member.php...o&userid=23705
View this thread: http://www.excelforum.com/showthread...hreadid=373836


--

Dave Peterson
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Dots into Commas as Decimal Divider xenia Excel Discussion (Misc queries) 2 August 8th 05 09:48 AM
Number of dropdown fields in Excel is limited. I need more. How? UweVahrson Excel Discussion (Misc queries) 7 March 28th 05 05:10 PM
How do I override fixed decimal place settings in EXcel 2003? jroyv Excel Worksheet Functions 2 February 11th 05 06:07 PM
Sorting Spreadsheet with Merged Fields Linda L Excel Discussion (Misc queries) 1 January 22nd 05 12:58 AM
decimal point override does not work Sam Brauen Excel Discussion (Misc queries) 0 January 6th 05 05:29 PM


All times are GMT +1. The time now is 03:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"