MPE/iX - CI Programming for Stability

July 18, 2008 HP World '01 38
Whats wrong?
Let’s add some comments in the beginning and accept a parameter so
the user can specify which files they are interested in.
Let’s also start adding some error handling
PARM fileset=@.@.@
# Reports NM and CM program files which have PM capability. Since two
# LISTFILEs are done to get the full list of NMPRG and PROG files the final output
# will not be in alphabetic order. Note: HFS syntax is not supported by VERSION.
purge progf
purge versf
build progf;msg;rec=-80,,f,ascii
build versf;msg;rec=-80,,f,ascii
file x=progf,old
file y=versf,old
continue
listfile !fileset, 6;seleq=[code=NMPRG] >*x
continue
listfile !fileset, 6;seleq=[code=PROG] >>*x
...