Skip to main content

Is there an equivalent to link lists (@mylist.lnk) on UNIX?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

You can create the same behaviour as using a @mylist.lnk with Net Express with Server Express by using a cat command as part of your cob command.   The cob command includes a 'cat filename' where filename contains a list of files to be submitted to the cob command, seperated by spaces.  

Resolution:

echo tictac.cbl > list.lnk

You can then submit tictac.cbl to the cob command by simply typing

cob 'cat list.lnk'

tictac.cbl gets compiled.  So if you have a file which contains a list of files to be submitted to the cob command you could use this method.

NB. the cat command needs to be contained between backquotes.

Old KB# 7191