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 

IMS report pages out of sequences

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
sraj
Beginner


Joined: 08 Aug 2006
Posts: 10
Topics: 4

PostPosted: Tue Aug 08, 2006 4:32 pm    Post subject: IMS report pages out of sequences Reply with quote

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
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Aug 09, 2006 10:49 am    Post subject: Reply with quote

How are they getting to the printer? SNA or IP?
Back to top
View user's profile Send private message
sraj
Beginner


Joined: 08 Aug 2006
Posts: 10
Topics: 4

PostPosted: Wed Aug 09, 2006 3:04 pm    Post subject: Reply with quote

Bithead wrote:
How are they getting to the printer? SNA or IP?


SNA - 3270 Printer
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Aug 09, 2006 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
sraj
Beginner


Joined: 08 Aug 2006
Posts: 10
Topics: 4

PostPosted: Thu Aug 10, 2006 10:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Aug 10, 2006 11:19 am    Post subject: Reply with quote

What did the DBA say had changed?
Back to top
View user's profile Send private message
sraj
Beginner


Joined: 08 Aug 2006
Posts: 10
Topics: 4

PostPosted: Thu Aug 10, 2006 1:45 pm    Post subject: Reply with quote

Response from DBA - The system software no longer guarantees the sequence of separate documents.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Aug 10, 2006 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS 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