View previous topic :: View next topic |
Author |
Message |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Thu Jun 28, 2018 6:57 am Post subject: XMITIPSP |
|
|
Does anyone have any experience of using this useful tool?
I'm following (I think) the example frmo the online manual http://www.lbdsoftware.com/XMITIP-Guide.pdf but am stumped with the fact that I only ever see one line of data in each report.
Here's my input file
Quote: |
PAGE 1
this is from page 1
PAGE 2
this is from page 2
PAGE 3
this is from page 3
PAGE 4
this is from page 4
PAGE 5
this is from page 5
PAGE 10
this is from page 10
PAGE 11
this is from page 11
|
and here's my JCL
Code: |
//SYSTSIN DD *
%XMITIPSP DD:IEHLIST DD:CONTROL
/*
//CONTROL DD *
SEPLOC=1/7
GMAIL=xxxxx@xx.SE
MERGEMAIL
KEYV=PAGE 1
KEYV=PAGE 3
KEYV=PAGE 10
SUBJECT=TEST SPLITTER REPORT &SEPNUM
MSGSTART
THIS IS A TEST MESSAGE FOR THE XMITIP REPORT
SPLITTER UTILITY.
MSGEND
XMITIPCONFIG=DD:XMCC
FILENAME=BIL&SEPNUM.PDF
//XMCC DD *
FROM xxxx@xx.SE +
FORMAT PDF/L/9/A4
/*
|
What I'm expecting to see is 3 reports (via the mergemail) in my inbox. I do see them correctly, but the trouble is, each report only contains ONE line with the text PAGE 1, PAGE 3 and PAGE10.
The detail lines under each page are missing completely.
Any suggestions ??? _________________ Michael |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu Jun 28, 2018 7:56 am Post subject: |
|
|
Does it work if you use RTF (as per the example) as the format instead of PDS? Also, you have not shown the IEHLIST DD statement. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Sat Jun 30, 2018 1:12 am Post subject: |
|
|
I was informed that what I was trying to do isn't doable.
For xmitipsp to be able to split a file, the SEPLOC parameter had to have the third value pointing out all the n'th rows where the identifiers can be found (and these have to be equidistantally apart)
If their distance apart varies, then it can't be used (ie, you have identifiers on line 1, 50, 90, 160 etc) _________________ Michael |
|
Back to top |
|
|
|
|