Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I would like to prepare a scripts for writing a string (longer than 255 chars) into a file. However, a error prompted due to 'element too long'.
Script:
write d_file f$extract(0,256,content)
Error:
%DCL-W-TKNOVF, command element is too long - shorten
Then, I tried to use 'write/symbol' instead of just 'write'. However, another error is prompted.Error:
%DCL-W-PARMDEL, invalid parameter delimiter - check use of special characters
Please help. Thanks.

$ content = f$fao("!500*X")
$ open /write d_file xes.dat
$
$ line = f$extract(0,256,content)
$ write /symbol d_file line
$ close /nolog d_file

![]() |
check if input has all in...
|
How to change VMS passwor...
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |