MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need to Send a seq file in xls format.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Selvakumar
Beginner


Joined: 26 May 2004
Posts: 16
Topics: 6

PostPosted: Fri Nov 05, 2004 2:44 am    Post subject: Need to Send a seq file in xls format. Reply with quote

Hi,

Suggest an idea of how to send a seq file in xls/csv format through mail. I have used XMITIP.

Details abt the input file:
the input file contains datas with semicolon seperated.
eg:
aaaa ; bbbb; ccc,ddd ; eeee

When i tried sending this in xls/csv format, the pc file contains all the details in a single cell rather than having it in four different cells.

The code is shown below:

//STEP030 EXEC PGM=IKJEFT1B
//SYSEXEC DD DSN=XMITIP.L1.EXEC,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%XMITIP (mail id) -
SUBJECT 'Report ' -
MSGT 'New Report ' -
FILE ('input seg file name') -
FORMAT HTML/BLU/.XLS//////Y
/*

Thanks,
Zelwaa.
_________________
Thanks,
Zelwaa

-what matters most is how u c urself!!!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Nov 05, 2004 5:46 am    Post subject: Reply with quote

Selva kumar,

Send the file as a text file and when you receive it open it with Excel application. It then will open a dailogue for formatting the data with a delimited option.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Selvakumar
Beginner


Joined: 26 May 2004
Posts: 16
Topics: 6

PostPosted: Mon Nov 08, 2004 3:57 am    Post subject: Reply with quote

No Kolusu, i cant do that as the receiving end is the other department.

I managed to send the file in CSV format with a little change in the input file format.

Instead of giving the input records like this:
aaaa ; bbbb; ccc,ddd ; eeee

i changed to
aaaa ; bbbb; ="ccc,ddd" ; eeee

and the format in the JCL as
FORMAT CSV

It is working fine.

Thanks for that kolusu.
_________________
Thanks,
Zelwaa

-what matters most is how u c urself!!!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group