The lines following most (but not all) of the F- commands are generally the 
"What to do on error" lines

As you have it, the mv command will be skipped because the prior command thinks 
it was its error line. Look at the manual entries for these commands (might 
have helped before posting here don't you think?):

http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/jcl2_JCL.F_CLEAR.htm
 
http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/jcl2_JCL.F_OPEN.htm
etc...

However, unless you are forced to, don't do stuff like this in PROC.

Jim
 


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of wsw
> Sent: Tuesday, April 20, 2010 12:44 PM
> To: jBASE
> Subject: Text file Question - jBASE 3.4 on Redhat Linux
> 
> I'm trying to create a text file in PROC and then write to that file
> via jbasic. I tried the following but the file is never created and I
> don't get an error:
> 
> F-CLEAR 12
> F-OPEN 12 "/data/txtfiles/scanpr/scan.txt"
> MV &12.1 "Scan stuff"
> F-WRITE 12
> F-CLOSE 12
> 
> Does anyone know how I can accomplish this in PROC
> 
> Thanks in advance,
> 
> WW
> 
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
> 
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
> 
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en



-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to