× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



the credit card processes I have written, the main job
creates a data queue with a unique name,
creates a "session" record in a tran file
submits the comm program - passing queue name as parm
comm program sends card trans & receives response
comm program updates the session record, then writes to the data queue
the main job reads the data queue and gets the answer from session record.
If main job times out on data queue - houston - you got a problem.
The session record is your permanent record of what happened.
What you are missing (trying to use a job queue) - is the data queue.

Jim Franz

----- Original Message ----- From: "Walden H. Leverich" <WaldenL@xxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, June 05, 2008 4:21 PM
Subject: RE: Wait for one hour and then run


Is there a way to tell sbmjob to wait for one hour?
Or I need to set date and time?
Any better ideas?


I believe you'll have to set the SCDDATE/SCDTIME on the SBMJOB. However,
you realize you're submitting a job per advertising request. Seems ugly
to me.

Why not just record the datetime you go off to the processor in the
table, and the datetime you come back in the table. Then run a single
job hourly (or however often you want) that goes spelunking the table
looking for a non null submit time, and a null completion time.

-Walden

--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.