Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Subject: dcl script help

Original Message
Name: rem
Date: November 28, 2004 at 15:16:00 Pacific
Subject: dcl script help
OS: win xp
CPU/Ram: P4 2.8c HT 512MB
Comment:
I have to write a little DCL script:
It can sort the line of a file, which is determined by parameter. If the two lines in the files is similar, the script must send an individual error message.
If the parameter is "mail", the script must send it-self to a given e-mail adress.
Thx for the help!

reM


Report Offensive Message For Removal

Response Number 1
Name: Bob Gezelter
Date: November 28, 2004 at 17:13:48 Pacific
Subject: dcl script help
Reply: (edit)
rem,

First, I would take a look at the SORT utility description, both online in the help text and in the documentation set (a copy of the documentation set can be found on the HP www site at http://www.hp.com/go/openvms.

If you can be more specific, it easier to be more specific in assisting you.

- Bob Gezelter, http://www.rlgsc.com
The OpenVMS Consultant, http://www.OpenVMS.org


Report Offensive Follow Up For Removal

Response Number 2
Name: rem
Date: November 29, 2004 at 06:55:15 Pacific
Subject: dcl script help
Reply: (edit)
Thx Bob Gezelter for your help!

This is description of the script that i have to write. No more information, specification.

The SORT command is good, i can use it.
How can i compare two or more lines in the same file?
How can i write the MAIL command in a DCL script?

reM


Report Offensive Follow Up For Removal

Response Number 3
Name: rem
Date: November 29, 2004 at 11:43:01 Pacific
Subject: dcl script help
Reply: (edit)
How can i list lines of a file in reverse (from last line to first line) to standard output?

reM


Report Offensive Follow Up For Removal

Response Number 4
Name: cycy
Date: November 30, 2004 at 02:17:55 Pacific
Subject: dcl script help
Reply: (edit)
reM, ELTE? :)

Report Offensive Follow Up For Removal

Response Number 5
Name: Hakan Andersson (by HakAnd)
Date: November 30, 2004 at 10:49:40 Pacific
Subject: dcl script help
Reply: (edit)
reM,

There are no easy answer to your questions.

To compair two strings.

$ string_1 = "ABC"
$ string_2 = "DEF"
$ if string_1 .eqs. string_2 then .....

to list a file from bottom to top, you need a script.......

$ open/read file your_file.txt
$ row=1
$10:
$ read/end=eof file str'row'
$ row = row + 1
$ goto 10
$eof:
$ close file
$20:
$ row = row - 1
$ write sys$output str'row'
$ if row .gt. 1 then goto 20
$ exit


Report Offensive Follow Up For Removal

Response Number 6
Name: rem
Date: November 30, 2004 at 12:31:16 Pacific
Subject: dcl script help
Reply: (edit)
thx Hakan

i have alredy solved the problem :D
(my script is almost the same like your)

thx again
:)

reM


Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: dcl script help

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software



Version Tracker Pro
Keep your software current and secure, effortlessly

Click Here for a Free Scan

Driver Agent
Automatically find the latest drivers for your computer.
Click Here for a Free Scan



The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC