![]() |
|
|
|
|
1
14th October 05:18
External User
Posts: 1
|
I am of the understanding that cobol does not have a wait or sleep....
I'm sure that there is some LE function I can call but what is the quickest and most simple method of having a "WAIT". I don't know assembler so cannot code to the STIMER macro. I've seen some asm here: http://www.mainframeweek.com/journal...+REXX+programs but I don't use anything I cannot support. Is there an LE function precisely for this - or some method of SIGNALling ? Just a link would suffice - I have workarounds but nothing "elegant". This is Batch and NOT CICS. This is on IBM z/OS running Enterprise COBOL Thanks JCE |
|
|
|
|
4
19th October 22:05
External User
Posts: 1
|
:>I am of the understanding that cobol does not have a wait or sleep....
:>I'm sure that there is some LE function I can call but what is the quickest :>and most simple method of having a "WAIT". You have been given several answers to your basic question. My question is why do you have the need of the wait? Is your COBOL program starting some asynchronous activity? Might there be a better design? -- Binyamin Dissen <bdissen@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel |
|
|
5
19th October 22:05
External User
Posts: 1
|
| I am of the understanding that cobol does not have a wait or sleep....
| I'm sure that there is some LE function I can call but what is the quickest | and most simple method of having a "WAIT". | | I don't know assembler so cannot code to the STIMER macro. | I've seen some asm here: | http://www.mainframeweek.com/journal...ion+for+REXX+p rograms | | but I don't use anything I cannot support. | Do a scan of your source library, someone else may have already coded an STIMER routine. I found a bunch of them at the last place I was at. Sometimes there really is a free lunch. |
|
|
7
19th October 22:05
External User
Posts: 1
|
I would not put a production program to sleep.
If it never wakes up, programs which are dependent upon its completion will be held up, and the Master Scheduler will remove you from his Christmas Card List. Other possible issues to research http://www.quest-pipelines.com/pipel...ips00.htm#june This is from the Sybase manual If you receive DB2 SQL-911 errors, be sure that the LTMOBJECTS system table does not share a tablespace with a primary table. To correct DB2 SQL-911 errors Use the same user ID and password that originally created the system tables (usually LTMADMIN). Shut down Replication Agent. Save the data from the system tables using your site's normal backup procedures. Drop all three system tables. Create all three system tables in a different tablespace or table blocks. Restore the contents of the system tables saved in step 3. |
|