Thanks for your answers, This is the way I put all query commands in one file.
Script with this line: dsmadmc -id=xxxx -pa=xxxx macro /usr/script/macro > file.out macro file: All commands can be placed here > file.out: All output in one file. > met vriendelijke groeten, regards et salutations, > > Finn Leijnse > > ISES/31 - Central Data Storage Management > Shell Services International bv. > email: [EMAIL PROTECTED] >