cancel
Showing results for 
Search instead for 
Did you mean: 

Merge multiple spools into a new big spool (OTF) ???

Former Member
0 Kudos

Hi.

I just want to know how to merge multiples otf (or spool) into a new big spool.

All OTF are starting with something like that:

//XZSIMM 046B 0000000000

IN01FZVINVOICE_BPB01 FIRST

OPDINA4 P 144 240 1683811906000010000100000

When changing page we got a:

EP

All OTF are terminated with a EOF symbol:

//

How can i merge these OTF ????

Should I remove all // except the last one ?

I tried to remove the first line and the last line of each OTF but it doesn't work.

Please help me.

Message was edited by:

fabien couedel

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Fabien,

Here is the solution to merge multiple OTF data....

EP is the command which indicates end of page.

Suppose the two OTF data are like this:

// XHPLJIIID 0620 00000000001

IN 04EZSHAIL_SMFORM1

IN 05%PAGE1

OP DINA4 P 144 240 3495731000100289301000

IN 06MAIN

EP

//

// XHPLJIIID 0620 00000000001

IN 04EZSHAIL_SMA1

IN 05%PAGE1

OP DINA4 P 144 240 238974761890001001100010

IN 06MAIN

EP

//

The merged OTF should be like this:

// XHPLJIIID 0620 00000000001

IN 04EZSHAIL_SMFORM1

IN 05%PAGE1

OP DINA4 P 144 240 3495731000100289301000

IN 06MAIN

EP

IN 04EZSHAIL_SMA1

IN 05%PAGE1

OP DINA4 P 144 240 238974761890001001100010

IN 06MAIN

EP

//

The idea is like this:

Each OTF data has to begin and end with '//'.

Each page should end with 'EP'.

So, to merge multiple OTF data, after each EP command, append the data

part of each OTF data.(DON'T INCLUDE THE FIRST LINE ie: // XHPLIIID ....)

This is how you merge multiple OTF data to one OTF data...

<b>Award points if found useful.</b>

Regards,

SP.

Former Member
0 Kudos

hi

try this OUTPUT_OPTIONS-TDNEWID = SPACE. normally we ste this value to 'X' if we want separate spool ids. just do it opposit.. i haven't tryied.. jsut it is an information. may be it works

Former Member
0 Kudos

Please let me know if you got the Solution for this problem.