View previous topic :: View next topic
|
Author |
Message |
MoganaKumaran
New User
Joined: 26 Jun 2007 Posts: 20 Location: Chennai
|
|
|
|
I have a COBOL program using following statement:
TEST INITIALIZE M-REC
When I remove the Verb TEST the values are not properly initialized .
Could you please let me know why TEST verb used with INITIALIZE .I searched online could not find a proper explanation for it .
It would be great if you could give an example of this TEST option.
Thanks & Regards,
Mohan |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
What version of COBOL are you using? |
|
Back to top |
|
|
MoganaKumaran
New User
Joined: 26 Jun 2007 Posts: 20 Location: Chennai
|
|
|
|
Enterprise COBOL |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
I could only find TEST used with the BEFORE and AFTER phrase within a perform.
something, as usual, is not being explained/exhibited by the TS. |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
Please post at least 5-10 lines of code around the statement in question, embedded in code tags. Also include relevant data definitions. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Could also be some pre-processor in the compile proc. |
|
Back to top |
|
|
|