Solved

qtemp not working with labels

Posted on 2011-02-16
2
275 Views
Last Modified: 2012-06-22
We are having issues with labels not retrieving information out of the qtemp file. We look at the label on the outq no data but if we do a strpdm with qtemp as library the data is there. I have also looked on the label to see if it the correct qtemp and it is.
0
Comment
Question by:MVLIS
2 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 500 total points
ID: 34910228
First, QTEMP is different for every job. If you see data in QTEMP when you run STRPDM, and then you submit a batch job that produces labels, the batch job will have its own QTEMP that is unique to that job. It won't have the data that is in the instance of QTEMP in the original job. That is, the method of creating labels might involve separate instances of QTEMP.

Next, a function might look for data in an explicitly named library or it might simply look for data in any library in the job's list of libraries. The first library in the list of libraries that has an object that matches object name and object type will be the library that supplies the data. If QTEMP is in the library list after another library that contains a matching (but empty) object, then the empty object will be used when QTEMP is not explicitly requested. That is, the handling of *LIBL ("library list") can alter the choice of objects that match.

Also, QTEMP is not required to be in a job's library list. Even if there are no matching objects in any library in the list, if QTEMP isn't in the list and the list is used to find a matching data object, then the data won't be found. That is, the structure of the job plus the method of locating a data object can determine if data is found or not.

In short, we need to know how the "labels process" (whatever that might be) is referencing the data object and we need to know the structure of the job that contains the "labels process".

Please describe the steps that you go through to place data in QTEMP plus how the "labels process" is initiated. We can probably make some inferences from your descriptions. It's likely that we'll then ask some more specific questions that get to the core of the issue.

Tom
0
 

Author Comment

by:MVLIS
ID: 34952826
Tom,
    Thank you for your comment but we ended tcp/ip on the 400 and everything came back up for about a week. now we are having the same issue again with everything just sitting in the snd status on the outq's.  We are setting them up as remote printer q's. where the remote system is SVRBOXPRT01 and the REMOTE PRINTER Q is TCP1. on the trace log I am showing that the 400 is sending mvl.mvl.kmmfg.com not really sure why because it should be sending TCP1.

TCP/IP               IDENTIFIER : TO#08531                         TIME 02/22/11  08:05:39.219892   TDE# 000000362969
 -------> S           Frame Type :  IPv4          TOS: NORMAL            Length:    70  Protocol: TCP           Datagram ID: FA8E
                                    Src Addr: 192.168.38.1     Dest Addr: 192.168.38.100   Fragment Flags: DON'T,LAST
                      IPv4 Header:  45000046FA8E400040060000C0A82601C0A82664
                      IP Options :  NONE
                      TCP . . .  :  Src Port:   894,Unassigned    Dest Port:   515,SPOOLER
                                    SEQ Number:  3060468087 ('B66B0977'X)  ACK Number:  708072451 ('2A345403'X)
                                    Code Bits: ACK PSH                  Window: 65535  TCP Option: NONE
                      TCP Header :  037E0203B66B09772A3454035018FFFF00000000
         Data . . . . . :  45000046FA8E4000 40060000C0A82601  C0A82664037E0203 B66B09772A345403    *E  Fú @ @   À¨& À¨&d ~  ¶k w*4T *
                                 5018FFFF00000000 0335343738206466  413135314D564C2E 4D564C2E4B4D4D46  *P ÿÿ     5478 dfA151MVL.MVL.KMMF*
                                 472E434F4D0A                                                                                                                                      *G.COM                                                       *
                                                                                                                                  .
TCP/IP               IDENTIFIER : TO#08600                         TIME 02/22/11  08:05:39.288724   TDE# 000000000120
 <------- R           Frame Type :  IPv4          TOS: NORMAL            Length:    40  Protocol: TCP           Datagram ID: 32C1
                                    Src Addr: 192.168.38.100   Dest Addr: 192.168.38.1     Fragment Flags: MAY  ,LAST
                      IPv4 Header:  4500002832C100001E069C59C0A82664C0A82601
                      IP Options :  NONE
                      TCP . . .  :  Src Port:   515,SPOOLER       Dest Port:   894,Unassigned
                                    SEQ Number:   708072451 ('2A345403'X)  ACK Number: 3060468117 ('B66B0995'X)
                                    Code Bits: ACK                      Window:  8162  TCP Option: NONE
                      TCP Header :  0203037E2A345403B66B099550101FE27E830000
         Data . . . . . :  4500002832C10000 1E069C59C0A82664  C0A826010203037E 2A345403B66B0995   *E  (2Á     YÀ¨&dÀ¨&    ~*4T ¶k  *
                                50101FE27E830000                                                                                                                             *P  â~                                                 *
                                                                                                                                  .

Here we are sending down the rvc data file  (MVL.MVL.KMMFG.COM) to the print server and it should return back a 00 return code but it does not.    Right now it is the print server that is not responding back with the proper data.    At the beginning of the file we do get a 00 back after we send down the TCP1 (remote printer queue name):
                                                                                                                                  .
TCP/IP               IDENTIFIER : TO#08531                         TIME 02/22/11  08:05:39.171380   TDE# 000000362969
 -------> S           Frame Type :  IPv4          TOS: NORMAL            Length:    46  Protocol: TCP           Datagram ID: FA8D
                                    Src Addr: 192.168.38.1     Dest Addr: 192.168.38.100   Fragment Flags: DON'T,LAST
                      IPv4 Header:  4500002EFA8D400040060000C0A82601C0A82664
                      IP Options :  NONE
                      TCP . . .  :  Src Port:   894,Unassigned    Dest Port:   515,SPOOLER
                                    SEQ Number:  3060468081 ('B66B0971'X)  ACK Number:  708072450 ('2A345402'X)
                                    Code Bits: ACK PSH                  Window: 65535  TCP Option: NONE
                      TCP Header :  037E0203B66B09712A3454025018FFFF00000000
         Data . . . . . :  4500002EFA8D4000 40060000C0A82601  C0A82664037E0203 B66B09712A345402   *E  .ú @ @   À¨& À¨&d ~  ¶k q*4T *
                                5018FFFF00000000 02544350310A                                          *P ÿÿ     TCP1                   *
                                                                                                                                  .
TCP/IP               IDENTIFIER : TO#08600                         TIME 02/22/11  08:05:39.199124   TDE# 000000000120
 <------- R           Frame Type :  IPv4          TOS: NORMAL            Length:    41  Protocol: TCP           Datagram ID: 32C0
                                    Src Addr: 192.168.38.100   Dest Addr: 192.168.38.1     Fragment Flags: MAY  ,LAST
                      IPv4 Header:  4500002932C000001E069C59C0A82664C0A82601
                      IP Options :  NONE
                      TCP . . .  :  Src Port:   515,SPOOLER       Dest Port:   894,Unassigned
                                    SEQ Number:   708072450 ('2A345402'X)  ACK Number: 3060468087 ('B66B0977'X)
                                    Code Bits: ACK PSH                  Window:  8192  TCP Option: NONE
                      TCP Header :  0203037E2A345402B66B0977501820007E7B0000
         Data . . . . . :  4500002932C00000 1E069C59C0A82664  C0A826010203037E 2A345402B66B0977   *E  )2À     YÀ¨&dÀ¨&    ~*4T ¶k w*
                                501820007E7B0000 00                                                    *P   ~{                          *
 
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now