Discussion Locked

Mainframe Export Case

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can you export from the mainframe into a comma delimited file, converting to Upper/Lower case from strictly upper?

5 replies

by estebandelatorre

Not directly, but you can accomplish the same results by:
1.- Comma delimited: You should use a file transfer utility, like netsoft, reflection, ibm, etc These file transfer utilities allows you to download files to pc and select the separators like comma or any other, fix lenght and so on.
To convert upper to lower, any pc program may read a line string and perform the lower case upon certain conditions, but a custom program is needed.

Joining the effors. Perform the file conversions in the mainframe, add the comma and perform the upper to lower case, and the issue an ftp from the host to the pc.

Hope it helps!

by otl

Does the mainframe Delimit? Some are straight text size (frames) others delimit with what they want (, , . , .., or whatever)
If it is straight text to the user, running a capture and converting using excel, word is the easiest way. But if the text is irregular and the mainframe uses a non-standard delimiter it can be a major hassle.

Here are 3 examples: N = number, L = Letter, X = Text

1. MDEMDEMDE 235 1 XXX 20 20
MDEMDEMDG 1 0 XXX 0 0
format wanted (simple)
MDEMDEMDX NNNN N XXX NN NN

2. "9-1-1,4-4-4::
"12-12-12,13-13-13::
format wanted
LLL NN-NN NN, LLL NN-NN NN

3. 0001001 0012012
0100010 0001002
format wanted (First half is not shown above)
LLL 03 NNNN NN, LLL 03 NNNN NN

This discussion is closed to new replies.