perlperl
asked on
vms script
I want to create a script in OpenVMS host which
1) creates directory
2) create file in that directory and write some data
i want to loop step 2 so that i can create multiple files
1) creates directory
2) create file in that directory and write some data
i want to loop step 2 so that i can create multiple files
ASKER
i found the looping also...
if i have one more write fd line, it writes on the seconfd line..can i write on sam eline...
if i have one more write fd line, it writes on the seconfd line..can i write on sam eline...
ASKER
in perl we use
print "\n" to print nect line
what is the equivalent in openVMS
print "\n" to print nect line
what is the equivalent in openVMS
Hello perlperl
I suppose you want to write you script in DCL?
To create a directory use the command DIRECTORY
on thusday i can give you more information on the loop and the new line issue.
bye
I suppose you want to write you script in DCL?
To create a directory use the command DIRECTORY
on thusday i can give you more information on the loop and the new line issue.
bye
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
$ file = test.txt
$ open/write fd 'file'
write fd "This is a test"
close fd
now i am trying to find for loop such that i cna create multiple files