Created On:  24 December 2010

Problem:

My COBOL program retrieves the command-line:

       working-storage section.
       01 CMDline pic x(128) value spaces.
       ...
       procedure division.
       accept   CMDline from command-line
       ....

To launch a program I like to debug this way: anim program.int command-line and receive no command-line in the animated program.

It works fine when I test in run mode:  cobrun program.int command-line

What am I doing wrong?

Resolution:

Use in anim mode this command:

anim program.int END command-line

The END added is a directive for Animator
 
Server Express 5.1 Bookshelf Debugging Guide Chapter 4: Directives for Animator:

END End directives to Animator and begin directives for user program