IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

My XML file size is huge


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Imran.Mohammed

New User


Joined: 06 Jul 2007
Posts: 5
Location: India

PostPosted: Tue Aug 21, 2012 5:42 pm
Reply with quote

Hi
I tried searching the forum for the issue i am facing on. I didn't find one. i might be wrong, still, It would be great if you can help me out

I am trying to mail a file from mainframe and the size turns out to be so huge.

I use a cobol program and generate a report as an XML file so that it will be compatible in excel format or CSV format and then use JCL to mail.

When it comes to my outlook the size is so huge. please guide how can i resolve? plesae let me know if i am not explaining properly too.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 21, 2012 5:49 pm
Reply with quote

1. Contact your site support group and work with them.
2. Contact your site support group and work with them.
3. Contact your site support group and work with them.

Starting to get an idea? Size limits on email are set in the TCP/IP configuration parameters (and can be set other places as well) and only someone working AT YOUR SITE can possibly know how these parameters are set at your site. And only someone working AT YOUR SITE could know if there's any way to work around the limitations.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Aug 21, 2012 5:50 pm
Reply with quote

You just told that the file size is huge... nothing more nothing less!
what do You want us to do about it ? icon_cool.gif
Back to top
View user's profile Send private message
Imran.Mohammed

New User


Joined: 06 Jul 2007
Posts: 5
Location: India

PostPosted: Tue Aug 21, 2012 5:55 pm
Reply with quote

Thank you guys for your response. I don't know that this has to be routed to support group, rather i thought i can use some methods through XML or FTP scripts to compress the data. And PKZIP doesn't work here. Just trying different methods to get experts opinions and solutions.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 21, 2012 6:31 pm
Reply with quote

If your site has the default SMTP message limit of 500,000 bytes and your "huge" XML file is 4 GB, for example, there's no chance that compression of any kind will allow that transfer to happen. FTP could be used on your dekstop to "pull" the file from the mainframe, but FTP cannot be used on the mainframe to "push" the file to your desktop since that would require the desktop to be running server software, which most organizations prohibit.

Furthermore, you didn't mention FTP in your original email, just email. Of course, since you didn't define what "huge" meant to you, either, there's not much anybody would do unless they're working at your site and can review the file size, etc.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Aug 21, 2012 7:30 pm
Reply with quote

1) Make the report VB and strip all trailing blanks
2) Use AMATERSE on the z/OS side and TERSE.EXE on the "other" side.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 21, 2012 8:29 pm
Reply with quote

Hello,

Sending this as an e-mail attachment is probably not a good way to go . . .

Suggest you determine if there is a server you cah "push" the file to or if the recipient can "pull" the file from the mainframe.

Most e-mail systems frown on (or do not allow) very large attachments . . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top