Skip to main content

[Migrated content. Thread originally posted on 06 December 2011]

I'm having some difficulty creating my application library under Windows 7. Prior to upgrading to Win7 I was using an old 16-bit version of the RM/Cobol runtime to create our application libraries (all development was performed using v10.01). However now I'm forced to use a 32-bit or greater version since the 16-bit is not supported on Win7.

So here's what I've got: I have a batch file that we execute to create an application library and a text file that, up until now, would handle all inputs.

Batch file:
ECHO ON
erase mstradd.lst
SET PRINTER=mstradd.LST
erase MyLib.ADD
%rm_program_dir%\\RUNCOBOL %rm_program_dir%\\RMPGMCOM
pause

MyLib.txt
Y
N
MyLib.ADD
App1
App2

It appears that the input redirect is being ignored and I'm forced to enter thru the prompts. I tried using the A command line parameter and this works, however I'm limited to 100 characters:

%rm_program_dir%\\RUNCOBOL RMPGMCOM A='PRINTER, MyLib.ADD, App1, App2'

We have hundreds of objects that we combine into one library; using the input redirection made it very easy to manage and maintain new objects and ones that we'd deprecate.

Any suggestions? How is everyone else creating their object libraries?

[Migrated content. Thread originally posted on 06 December 2011]

I'm having some difficulty creating my application library under Windows 7. Prior to upgrading to Win7 I was using an old 16-bit version of the RM/Cobol runtime to create our application libraries (all development was performed using v10.01). However now I'm forced to use a 32-bit or greater version since the 16-bit is not supported on Win7.

So here's what I've got: I have a batch file that we execute to create an application library and a text file that, up until now, would handle all inputs.

Batch file:
ECHO ON
erase mstradd.lst
SET PRINTER=mstradd.LST
erase MyLib.ADD
%rm_program_dir%\\RUNCOBOL %rm_program_dir%\\RMPGMCOM
pause

MyLib.txt
Y
N
MyLib.ADD
App1
App2

It appears that the input redirect is being ignored and I'm forced to enter thru the prompts. I tried using the A command line parameter and this works, however I'm limited to 100 characters:

%rm_program_dir%\\RUNCOBOL RMPGMCOM A='PRINTER, MyLib.ADD, App1, App2'

We have hundreds of objects that we combine into one library; using the input redirection made it very easy to manage and maintain new objects and ones that we'd deprecate.

Any suggestions? How is everyone else creating their object libraries?
Please explain exactly what you get with these procedures. Suddenly we give you a better choice of work.