View previous topic :: View next topic
|
Author |
Message |
Pavan101
New User
Joined: 09 Mar 2009 Posts: 13 Location: Bombay
|
|
|
|
Hi all,
Plz let me know that i am reading a Parm file and now i need to see parm file's value in particular Cobol variable,
Something i remember that there is a 'StandBy' command.
so can u give me detail description about it.
Thanks in advance
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Which COBOL compiler version? Are you using a debugger or not? AFAIK, there is no 'STANDBY' command in z/OS COBOL.
DISPLAY works well to show variable values. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Robert,
it is 'Standby your <variable>', by Tammy Wynette. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
ROFL dick! |
|
Back to top |
|
|
Pavan101
New User
Joined: 09 Mar 2009 Posts: 13 Location: Bombay
|
|
|
|
i am using Z/os cobol.
But still i am not getting it properly. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
no such thing,
you are using either OS390 COBOL, COBOLII or Enterprise COBOL in a z/OS operating system.
Pavan wrote: |
But still i am not getting it properly. |
what told you that? Had you shared the error with us we could be more detailed/direct with our response.
As it is, can only show you the manual:
DISPLAY <variable name>
you don't need the UPON or WITH phrase. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Something i remember that there is a 'StandBy' command. |
From where do you remember this?
And for the music buffs, also "Standby Me" from Ben E. King. . . |
|
Back to top |
|
|
|