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 

ICEGENER AND SENDING ATTACHMENT AS TEXT

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
akrv
Beginner


Joined: 16 Sep 2006
Posts: 2
Topics: 1

PostPosted: Sat Sep 16, 2006 10:18 pm    Post subject: ICEGENER AND SENDING ATTACHMENT AS TEXT Reply with quote

Hi All,
I am trying to send dataset as text attachment to a mail address using icegener. The input dataset is of lrecl 246 bytes. The mail in the attachment has only 204 bytes. its getting truncated... any idea on how it can be resolved.....

Thanks

akrv
Back to top
View user's profile Send private message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Sun Sep 17, 2006 3:11 am    Post subject: Reply with quote

I hope you didn't pre-allocate the dataset defined in SYSUT2 as 204 bytes.
_________________
Regards,
Programmer
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Sun Sep 17, 2006 12:59 pm    Post subject: Reply with quote

akrv,

As programmer1 suggested you might be missing proper DCB parameters information.Change the LRECL to 204 and run the job.

I have done below way and i would like to know how you have done using ICEGENER .Can you share with me the info:
Code:

//**********************************************************************
//*    COPY THE LATEST GDG SHEKAR.TEST.GDG(0) DATASET TO       
//*                        SHEKAR.REPORT.TXT                       
//**********************************************************************
//STEP0100 EXEC PGM=IEBGENER                                           
//SYSPRINT DD SYSOUT=*                                         
//SYSUT1   DD DSN=SHEKAR.TEST.GDG(0),DISP=SHR                 
//SYSUT2   DD DSN=SHEKAR.REPORT.TXT,                               
//            DISP=(NEW,CATLG,CATLG),                                   
//            UNIT=SYSDA,                                               
//            SPACE=(TRK,(1,1),RLSE),                                   
//            DCB=(LRECL=80,RECFM=FB,BLKSIZE=800)                       
//SYSIN    DD DUMMY                                                     
//**********************************************************************
//*    SEND THE DATASET 'SHEKAR.REPORT.TXT' TO                     
//*    SHEKAR'S MAIL ID BY TSO TRANSMIT             
//**********************************************************************
//STEP0200 EXEC PGM=IKJEFT01                                           
//SYSTSPRT DD SYSOUT=*                                       
//SYSPRINT DD SYSOUT=*                                         
//SYSUDUMP DD SYSOUT=*
//SYSTSIN  DD DSN=SHEKAR.TEST.CARDS(SFORMAIL),DISP=SHR                   

SHEKAR.TEST.CARDS(SFORMAIL)
   TRANSMIT NODENAME/USERID SEQ LOG DATASET('SHEKAR.REPORT.TXT')

NODENAME and USERID SHOULD BE CORRECT.

_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
akrv
Beginner


Joined: 16 Sep 2006
Posts: 2
Topics: 1

PostPosted: Sun Sep 17, 2006 1:24 pm    Post subject: Reply with quote

hi programmer,

Sysut2's dcb as follows

//SYSUT2 DD SYSOUT=(,),OUTPUT=(*.EMAIL),
// DCB=(RECFM=FB,LRECL=246,BLKSIZE=24600)

But when the text file is opened only 204 bytes are seen.
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Sun Sep 17, 2006 6:45 pm    Post subject: Reply with quote

Add the following DD statement to the ICEGENER step to get diagnostic messages:

Code:

//SORTDIAG DD DUMMY


Then rerun the job and show all of the //SYSPRINT messages here.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics 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