View previous topic :: View next topic
|
Author |
Message |
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
please let me if there is any way to start execution of a cobol program from a particular line. |
|
Back to top |
|
|
IQofaGerbil
Active User
Joined: 05 May 2006 Posts: 183 Location: Scotland
|
|
|
|
explain further please
give example maybe? |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
Back to top |
|
|
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
I want to start execution of a cobol program from a particular step.
Like as follows
procedure division.
move a to b.
move a to c.
add b to c.
...
....
stop run.
NOw I want to skip senetences "move a to b" and "move an to c" and
start execution from sentence "add b to c".
I should be able to specify the sentence from JCL. So could ENTRY be used.
please let me know if there is any way. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
? What possible reason would you want to do something like that ?
Is this an actual business requirement or just an academic exercise?
Not that academic exercises are bad to do, It?s just that it may not suit a business environment.
If you could do what you are asking, you program would miss all of the initialization processes, and the process leading up to the point you want to start at.
Please come back and let us know what you are really trying to accomplish.
Dave |
|
Back to top |
|
|
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
the problem was asked to me in an interview. it was not a job interview it was a between a pm and my freind. i am not sure whether they have this type of requirement.
thanks. |
|
Back to top |
|
|
|