Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

qtemp not working with labels

Posted on 2011-02-16
2
Medium Priority
?
285 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

618 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