Skip to main content

I have 2 questions that I have not been able to find the answers to in any documentation:

1)  Our Net Express 3.1 application used a run time switch of K4.   What does that run time option do?  We are migrating to Visual Cobol and was wondering if we should keep that switch in our new environment.

2)  One of our consultants used a -N option when linking a program (cbllink.exe) from a command line in Visual Cobol 2.0.   What does the -N option do?

Thanks in advance!

-Brian


#visualcobolruntimeswitchlinking

I have 2 questions that I have not been able to find the answers to in any documentation:

1)  Our Net Express 3.1 application used a run time switch of K4.   What does that run time option do?  We are migrating to Visual Cobol and was wondering if we should keep that switch in our new environment.

2)  One of our consultants used a -N option when linking a program (cbllink.exe) from a command line in Visual Cobol 2.0.   What does the -N option do?

Thanks in advance!

-Brian


#visualcobolruntimeswitchlinking

The COBSW= K4 run-time switch is a holdover from the Workbench product I believe.

It has not been documented in any version of Net Express yet I tested it under NX 5.1 and Visual COBOL 2.0 and it still appears to be functional.

The only thing it does is cause a pause to occur after a RTS error is displayed so that you can always read the RTS message.

I have never heard of the cbllink option -N.

Can you please show me what the entire cbllink command line looks like?

Thanks.


I have 2 questions that I have not been able to find the answers to in any documentation:

1)  Our Net Express 3.1 application used a run time switch of K4.   What does that run time option do?  We are migrating to Visual Cobol and was wondering if we should keep that switch in our new environment.

2)  One of our consultants used a -N option when linking a program (cbllink.exe) from a command line in Visual Cobol 2.0.   What does the -N option do?

Thanks in advance!

-Brian


#visualcobolruntimeswitchlinking

I have been told that the -N option means the following:

    -N with cbllink is “no banner”.. aka passes /nologo option to various other commands.


I have 2 questions that I have not been able to find the answers to in any documentation:

1)  Our Net Express 3.1 application used a run time switch of K4.   What does that run time option do?  We are migrating to Visual Cobol and was wondering if we should keep that switch in our new environment.

2)  One of our consultants used a -N option when linking a program (cbllink.exe) from a command line in Visual Cobol 2.0.   What does the -N option do?

Thanks in advance!

-Brian


#visualcobolruntimeswitchlinking

%COBBIN%\\cbllink.exe -O%OUTBIN%\\%THEPROG%.dll -D -N -FM %OUTBIN%\\%THEPROG%.obj

where COBBIN = c:\\Program Files\\Micro Focus\\Visual COBOL 2010\\bin

   and OUTBIN = c:\\Compiled

   and THEPROG = any cobol filename

Thanks!


I have 2 questions that I have not been able to find the answers to in any documentation:

1)  Our Net Express 3.1 application used a run time switch of K4.   What does that run time option do?  We are migrating to Visual Cobol and was wondering if we should keep that switch in our new environment.

2)  One of our consultants used a -N option when linking a program (cbllink.exe) from a command line in Visual Cobol 2.0.   What does the -N option do?

Thanks in advance!

-Brian


#visualcobolruntimeswitchlinking

As previously answered in the thread above:

COBSW= K4  = The only thing it does is cause a pause to occur after a RTS error is displayed so that you can always read the RTS message.

-N with cbllink is “no banner”.. aka passes /nologo option to various other commands in order to suppress output messages.