View previous topic :: View next topic |
Author |
Message |
sraj Beginner
Joined: 08 Aug 2006 Posts: 10 Topics: 4
|
Posted: Tue Aug 08, 2006 4:32 pm Post subject: IMS report pages out of sequences |
|
|
IMS report pages out of sequences
Report generated by IMS pages are out of sequence.
Issued 'PURG' after sending all the pages using 'ISRT'.
Issued 'PURG' after sending every page using 'ISRT'.
Both the above mentioned solutions doesn't work still report pages are outof sequence.
Any suggestions? |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Wed Aug 09, 2006 10:49 am Post subject: |
|
|
How are they getting to the printer? SNA or IP? |
|
Back to top |
|
 |
sraj Beginner
Joined: 08 Aug 2006 Posts: 10 Topics: 4
|
Posted: Wed Aug 09, 2006 3:04 pm Post subject: |
|
|
Bithead wrote: | How are they getting to the printer? SNA or IP? |
SNA - 3270 Printer |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Wed Aug 09, 2006 3:48 pm Post subject: |
|
|
IMS will always dequeue messages in the order that they were enqueued. This means that they are presented to the printer in the order that they were released from the program. They can be released by a PURG call, a CHNG call or a checkpoint. Check for a checkpoint occuring somewhere in your program. If there are no checkpoints and there are no CHNG calls to the printer PCB, then maybe there is a logic problem.
I have seen some issues with print being out of order when they are processed by VPS or TPX. |
|
Back to top |
|
 |
sraj Beginner
Joined: 08 Aug 2006 Posts: 10 Topics: 4
|
Posted: Thu Aug 10, 2006 10:42 am Post subject: |
|
|
This problem started for all our programs which were working fine. It looks like there is some change to IMS lately.
Doesn't look like logic problem since we tried to fix this problem by issuing PURG call at last after building all the report pages.The same issue happens even if PURG/CHNG call is issued after each page. |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu Aug 10, 2006 11:19 am Post subject: |
|
|
What did the DBA say had changed? |
|
Back to top |
|
 |
sraj Beginner
Joined: 08 Aug 2006 Posts: 10 Topics: 4
|
Posted: Thu Aug 10, 2006 1:45 pm Post subject: |
|
|
Response from DBA - The system software no longer guarantees the sequence of separate documents. |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu Aug 10, 2006 2:20 pm Post subject: |
|
|
There must be some intermediate software between IMS and the printer. Ensure that there is only one PURG call at the end of the report. This should also apply to implicit purge calls which are casued by checkpoints and CHNG calls (there are some others but I would have to research them). If you are creating seperate pages of the report using seperate PCBs then you will need to combine them. The single purge should create a single message.
If the report is still being broken up because the software is breaking up the message then you might try looking into the spool API. It should route the output through JES |
|
Back to top |
|
 |
|
|