Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1559

compiling .cbl programs to create .o and use in batch script

$
0
0

We have a set of .cbl files in the Linux environment. Have installed Visual COBOL for Eclipse for SUSE.

I need to compile the source code and use the executable in the script to run the batch jobs.

Will executing the command "cob -z -P Program1.cbl" create a .o file and can we use the .o executable in my script to run the batch like

 

DD_SYS001=input_file

/location/program1.o unix >>outputfile

 

Is the approach fine? Since I am a novice, can someone please guide me step by step of how to go ahead executing it.


Viewing all articles
Browse latest Browse all 1559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>