Computing.Net > Forums > OpenVMS > porting of shell script to DCL COM scrip

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.

porting of shell script to DCL COM scrip

Reply to Message Icon

Name: subhashish chattopad
Date: September 11, 2001 at 06:40:33 Pacific
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: Klaus
Date: September 11, 2001 at 07:40:49 Pacific
Reply:

Hi,

I don't know much about shell scripts. But I remember that sed is a kind of programmable editor.
There is a programmable editor edit/tpu on VMS.

I can't remember that there is a tool to migrate to DCL.

Do you know about all the commands in the shell script?
Or do you need somebody to translate?

Klaus


0

Response Number 2
Name: Philip J. Piotrowski
Date: October 11, 2001 at 10:30:17 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to OpenVMS Forum Home


Sponsored links

Ads by Google


Results for: porting of shell script to DCL COM scrip

dcl to shell script www.computing.net/answers/openvms/dcl-to-shell-script/592.html

Epoch time www.computing.net/answers/openvms/epoch-time/516.html

DCL script with / as parameter www.computing.net/answers/openvms/dcl-script-with-as-parameter/443.html