Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
I have a big shell script to be ported to DCL com script. The shell script contains commands like "head -100" , sed and awk which does lots of things quite tacitly. Any examples on these how to expand these tacit commands to DCL script will be of great help.
AWK is available as freeware for OpenVMS, see: http://www.openvms.compaq.com/freeware/freeware50/FREEWARE/00FREEWARE_ABSTRACT.TXT
SED is availabel under the V4 CD.
You can look for HEAD.
Phil
0
Response Number 3
Name: Jose Baars Date: November 8, 2001 at 07:11:38 Pacific
Reply:
Of course, the better way is to look what the shell script does and then think how you would do that on VMS. These SED and AWK scripts usually are not very efficient to start with, and a program written in C, COBOL or whatever might do the job better.
Summary: Are you asking how to convert an OpenVMS DCL script to a Unix shell script? If so, I am not aware of any tool that would do this automatically. If not, please clarify your question. ...
Summary: Yes, DCL. Sorry, still a newbie. I try to translate my Unix scripts to DCL and sometimes I get stumped. I have an epoch time calculator script that I've been trying to comnvert to DCL, but I'm having ...
Summary: Hello Sethu, I don't know of a way to use / as a command parameter when you invoke a DCL script. But I have heard that there are other ways to emulate UNIX. HP hosts a set of freeware programs called ...