Thanks for you reply.
I very well agree what you said, but basically what I am doing is converting a Assembler program which is using STIMER Macro to Cobol.
So for this I need to put delay in my COBOL program too.
I have defined wait-time and curr time as:
01 WAIT-TIME PIC S9(9) BINARY.
01 CURR-TIME PIC 9(8).
I have defined wait-time as binary because CEE3DLY utility expects input as full word binary in range from 0 to 3600
Just because the code has "always" used STIMER does not mean that should remain "forever". Depending on the requirement, it may be accomplished thru the Scheduling System for the environment.
If you are forced to implement the delay, why not clone the old assembler code that issues the STIMER and create a new "delay" assembler module. You could call this from the COBOL code and basically be where you are today.
Sorry i don't have any CEE3DLY experience. _________________ Have a good one
Joined: 24 Jul 2011 Posts: 651 Location: Down on the pig farm
Posted: Sun Apr 22, 2012 12:33 pm Post subject:
Please do not post in multiple forums at the same time - it is considered impolite and as a lot of the people offering help visit most forums you are wasting their time as they read duplicates. _________________ Regards
besides your problem is a syntax error,
you could not even be bothered to code the instruction properly.
refer to an LE manaul for proper syntax of CEE3DLY.
the invokation of current_date probably loaded a register,
that was still loaded when your incorrectly coded instruction was invoked.
really all first grader stuff,
use the proper syntax and a lot of your problems go away. _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum