Hi,
Greetings. I am working on migration project which involves migration of cobol application from VAX/VMS platform to HP UNIX. I have couple of doubts while writing korn shell scripts. Could you let me know if you have information regarding how to handle the following tasks.
1. Unix Sort:
I would like to exclude some of the records while writing data into output file while sorting.
For example: If 1st byte in the record equal to 'H' exclude this record from sorting and do not write this record into output file. Please let me know how to handle this using unix sort command.
2. Unix Mail:
I would appreciate any kind of info on using mail command in korn shell to send the the text to different users using distribution list.
3. I want to pass return code from a MF COBOL program to unix korn shell script for validation purpose in the script. Please let me know how to handle this.
Thanks in advance for your help.
Regards,
Amar
Greetings. I am working on migration project which involves migration of cobol application from VAX/VMS platform to HP UNIX. I have couple of doubts while writing korn shell scripts. Could you let me know if you have information regarding how to handle the following tasks.
1. Unix Sort:
I would like to exclude some of the records while writing data into output file while sorting.
For example: If 1st byte in the record equal to 'H' exclude this record from sorting and do not write this record into output file. Please let me know how to handle this using unix sort command.
2. Unix Mail:
I would appreciate any kind of info on using mail command in korn shell to send the the text to different users using distribution list.
3. I want to pass return code from a MF COBOL program to unix korn shell script for validation purpose in the script. Please let me know how to handle this.
Thanks in advance for your help.
Regards,
Amar