Summary: Hi all all, I'm new to the board and I have a quick question: how can I check If a file exists using a conditional (IF..) I've seen that I could use ...
Summary: Hi, I want to capture the system errors and write to a file. Eg:%DCL-E-INVEST,invalid IF-THEN-ELSE nessting structure or data inconsistency I want ...
Summary: I want to replace on DCL level some string patterns in a file ,how can I do it? In unix from example there is a command utily SED which can be used t...
Summary: I am not sure that I understand your question. Which programming language are you writing in? Why do you say "writing a queue"? Are you writing a file...
Summary: I have strings of information like: $string1="hello" $string2="hi" I would like to write them into a text file. How can I do this? I tryed the next op...
Summary: i am need in vms, i wrote a procobol file which is used to extract data from datawarehouse, the output file will be in DAT format. i need to write a C...
Summary: Hi am new to VMS platform I have one file which conatins "EOF" as a Keyword at the end of File. e.g aaaa ansnans "EOF" If I found the "EOF"...
Summary: Is it possible to create a print queue that prints directly to a text file? Seems dumb since I'm printing it from a file already. But I'm trying to se...
Summary: I want to monitor for a file to show up then perform an action. I have made a bunch of command files to perform actions but I can't figure out how to ...
Summary: 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'. Scrip...
Summary: Given a file 'name.type' can F$PARSE be used to say yes or no it satisfies a spec in a wildcard spec? I have a case where I make a file of many many f...
Summary: Hi, how can i read a specific line from a file, without reading everything before it ? my problem is that i have no compiler to use, only DCL. thanks,...
Summary: I don't know any way to retrieve the key definition into a variable, but you can get it into a file, and then read the file : $ assign keydef.log sys$...
Summary: Hi all! I'm having a problem with the SORT/SPEC command. I need to remove unwanted records (based on a date/time field) from a file but all input rec...
Summary: Johno, you didn't say how you wanted the date on the file. Do you mean in the file name? Or as an ascii entry in the file's contents? The former can ...
Summary: Hello, I want to read a file with following DCL-Code: OPEN/READ FILE <whatever> How can i check if the file is open(lock) by an another user? Befor...
Summary: Open VMS is an operating system that started out on Digital Equipment Corporations first produced systems such as the PDP. The migration through the y...
Summary: I have a detached process running on a VAX 4000 using OpenVMS 5.4-2. The process uses system service sys$enqw to lock access to a file while it updat...
Summary: This is a VMS Forum so wasnt the best place to submit the question! --------------------------- Solution: If You Do Not Want to Save Your E-Mail Messa...
Summary: Hi, I have 2 questions. 1. How can I edit a file of record length more than 132. whenever i open it, bytes beyond 132nd col are not visible. any way t...
Summary: I suppose you mean SYS$SYSROOT instead of SYS$ROOT. The latter is not standard VMS. SYS$SYSROOT is a searchlist of both SYS$COMMON and SYS$SPECIFIC. W...
Summary: If all you want is the file version number of the executable, you can use the $GETJPI/$GETJPIW or LIB$GETJPI services to obtain the image file name (J...