Re: mj_control

[email protected]
Newsgroups gmane.comp.systems.as400.jbausers
Message-ID <OFFE9CE68B.AA7AA8AF-ON85257720.00792E42-85257720.00796062@genfast.com>
I just figured that out right before you sent your reply.  It's funny how 
you can look at something for days on end and miss something so small such 
as the fact that the program doesn't have single quotes around it.  I have 
never encountered that before in all these years!  Thank you so much for 
your help.





"Bob Otto" <[email protected]>
Sent by: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
05/11/2010 05:34 PM
Please respond to System 21 Users
 
        To:     "System 21 Users" <system21-Zwy7GipZuJhWk0Htik3J/[email protected]>
        cc: 
        Subject:        Re: [SYSTEM21] mj_control


TPRD07 is not an object.  It is a field in the database file PCP07.
You will notice that the call to TPRD07 was not shown as Call 'TPRD07'
which would be an pgm object.
The call is to a variable field whose value is retrieved by a previous
chain operation to PCP07 with the transaction type.  Run a query over
PCP07 and look at the data.  I think it will make sense to you.

-----Original Message-----
From: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
[mailto:system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] On Behalf Of [email protected]
Sent: Tuesday, May 11, 2010 4:12 PM
To: System 21 Users
Subject: Re: [SYSTEM21] mj_control

Bob/Lin,
I understand your explanations and this is great...I can see how IN070 
would be called.  But, my confusion is this:
I saw the call to TPRD07 from the beginning of my research but when I 
execute wrkobj for tprd07 in all libraries and all object types none are

found.  What is a variable program and what kind of object is it?





"Bob Otto" <[email protected]>
Sent by: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
05/11/2010 04:33 PM
Please respond to System 21 Users
 
        To:     "System 21 Users" <system21-Zwy7GipZuJhWk0Htik3J/[email protected]>
        cc: 
        Subject:        Re: [SYSTEM21] mj_control


Probably depends on your version, but for me the MJ_CONTROL job is
running MJ100 and waiting for a data queue entry to arrive.  From there,
it calls one of a few programs all in the MJ10x series.
If you check the source on those programs they call a variable program
TPRD07.
If you look at the database file PCP07, you will see that the
transaction type program (TPRD07) that will be called is dependent on
the transaction type.  These are all in the MJ4xx series and if you
check the source on those, you will see that IN070 is referenced in most
that require inventory movements. The control flags in PCP07 for each of
the transaction types will tell IN070 how to process the inventory
transaction. 

Hope that helps explain it a bit.

Bob Otto

-----Original Message-----
From: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
[mailto:system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] On Behalf Of Jim Kerr
Sent: Tuesday, May 11, 2010 3:23 PM
To: 'System 21 Users'
Subject: Re: [SYSTEM21] mj_control

Make sure you scan the MJ source in other OSL libraries, eg OSLPDS3. 

-----Original Message-----
From: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
[mailto:system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]]
On Behalf Of [email protected]
Sent: Tuesday, May 11, 2010 1:12 PM
To: System 21 Users
Subject: Re: [SYSTEM21] mj_control

I know that but I can't just assume that IN070 is called from the 
MJ_CONTROL job.  I don't see the call to IN070 in my source.  Do you
know 
for sure that IN070 is called from within the MJ_CONTROL job?





"Prill, Steve" <sprill-hW6zm9MTFO98UrSeD/[email protected]>
Sent by: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
05/11/2010 03:57 PM
Please respond to System 21 Users
 
        To:     "System 21 Users" <system21-Zwy7GipZuJhWk0Htik3J/[email protected]>
        cc: 
        Subject:        Re: [SYSTEM21] mj_control


IN070 is the program that updates INP95 and INP96.

Steve Prill | I.T. Manager | Rexair LLC |50 W. Big Beaver Rd. Suite 350
| 
Troy, MI 48084 | 248-816-8627 | fax 248-524-2191 | sprill-hW6zm9MTFO98UrSeD/[email protected]
 


-----Original Message-----
From: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
[mailto:system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] 
On Behalf Of [email protected]
Sent: Tuesday, May 11, 2010 3:55 PM
To: System 21 Users
Subject: Re: [SYSTEM21] mj_control

Hi Steve,
What do you mean check IN070?  What program is that called from?





"Prill, Steve" <sprill-hW6zm9MTFO98UrSeD/[email protected]>
Sent by: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
05/11/2010 03:01 PM
Please respond to System 21 Users
 
        To:     "System 21 Users" <system21-Zwy7GipZuJhWk0Htik3J/[email protected]>
        cc: 
        Subject:        Re: [SYSTEM21] mj_control


Check IN070.

Steve Prill | I.T. Manager | Rexair LLC |50 W. Big Beaver Rd. Suite 350
| 
Troy, MI 48084 | 248-816-8627 | fax 248-524-2191 | sprill-hW6zm9MTFO98UrSeD/[email protected]
 


-----Original Message-----
From: system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]
[mailto:system21-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] 

On Behalf Of [email protected]
Sent: Tuesday, May 11, 2010 2:46 PM
To: system21-Zwy7GipZuJhWk0Htik3J/[email protected]
Subject: [SYSTEM21] mj_control

Does anyone know how the mj_control job updates inventory movements in 
inp95/inp96?  I have reviewed the source code associated with this job 
stream and I can't find a call to any program that updates the inventory

movements.  If it calls a program to update inventory movements, I can't

find it in my source files for MJ100, MJ101, MJ102, MJ103, MJ104, MJ105
or 


MJ106 but the files are clearly open for output in the mj_control job...

_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.

This email and any attachments are confidential and may be legally
privileged.  If you are not the intended recipients, please notify
the author by replying to this email message, and then delete all
copies of the email on the system.  If you are not the intended
recipient, you must not disclose, distribute, copy, print or use
this email in any manner.

Email messages and attachments may contain viruses.  Although we
take precautions to check for viruses, we make no assurances about
the absence of viruses.  We accept no liability and suggest that
you carry out your own virus checks.
_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.


_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.

This email and any attachments are confidential and may be legally
privileged.  If you are not the intended recipients, please notify
the author by replying to this email message, and then delete all
copies of the email on the system.  If you are not the intended
recipient, you must not disclose, distribute, copy, print or use
this email in any manner.

Email messages and attachments may contain viruses.  Although we
take precautions to check for viruses, we make no assurances about
the absence of viruses.  We accept no liability and suggest that
you carry out your own virus checks.
_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.


_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.

_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.


Disclaimer Confidentiality Notice: This e-mail, and any attachments
and/or 
documents 
linked to this email, are intended for the addressee and may contain 
information that 
is privileged, confidential, proprietary, or otherwise protected by law.

Any dissemination, distribution, or copying is prohibited. This notice 
serves as a 
confidentiality marking for the purpose of any confidentiality or 
nondisclosure 
agreement. If you have received this communication in error, please 
contact the 
original sender.
_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.


_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.


Disclaimer Confidentiality Notice: This e-mail, and any attachments and/or 
documents 
linked to this email, are intended for the addressee and may contain 
information that 
is privileged, confidential, proprietary, or otherwise protected by law. 
Any dissemination, distribution, or copying is prohibited. This notice 
serves as a 
confidentiality marking for the purpose of any confidentiality or 
nondisclosure 
agreement. If you have received this communication in error, please 
contact the  
original sender.
_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.


_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.