Re: Spooler print to file program

2009-11-25 Thread Daniel Klein
How is the queue defined? What is the name of the program? Does 'D:\tmp' exist? What are the permissions on 'D:\tmp'? What does 'jshow program_name' display? What is the 'SP-ASSIGN' statement being used? What is the command being issued to direct output to the spooler? Does the command

Re: Spooler print to file program

2009-11-25 Thread Daniel Klein
Btw, I just plugged your program in to my system and it worked perfectly. Dan On Wed, Nov 25, 2009 at 6:56 AM, Daniel Klein danielklei...@gmail.com wrote: How is the queue defined? What is the name of the program? Does 'D:\tmp' exist? What are the permissions  on 'D:\tmp'? What does

Re: T24: Problem witn OFS Records delimiter

2009-11-25 Thread firas
Hi, Thik you for your response, My problem is not in the request but in the response data , if i receive data like this : %COMPANY//1,,@ID::@ID/ COMPANY.NAME::COMPANY.NAME, XY0010001 COMPANY 1, XY0010002 COMPANY 2, no problem but i have response data like this :

T24: ERROR in Java Program

2009-11-25 Thread Rama chandran
Hi All, I m Ram. I m getting the following error message while running a java code in jbase. Code: import com.jbase.javaobjex.*; public class testselect { public static void main(String[] args) { try { System.out.println(Ram); Jbase jB = new Jbase(); System.out.println(Ram); Jconnection jC =

Re: T24: Problem witn OFS Records delimiter

2009-11-25 Thread VK
Hi, yes as I've suspected the software you're using to parse the response fails to tell one comma from another :) What about replacing commas in data to something else? You can do it in OUT.MSG.RTN On Nov 25, 10:35 am, firas yengui.fi...@gmail.com wrote: Hi, Thik you for your response, My

Re: Spooler print to file program

2009-11-25 Thread CLIF
Thanks that it least tells me ther is somthing wrong with my spooler or jBASE setup. I'm sure its not a permissions issue at least with the d:\temp directory. I'm creating the formqueue like: SP-CREATE F1 PROG PRINT.PROG I do an SP-ASSIGN F1 then LIST PART (P Below is my jdiag System

Re: Spooler print to file program

2009-11-25 Thread Daniel Klein
That's a 9-year-old version of jBASE. Care to test it on something more recent? You might want try re-initializing the spooler and recreate your queue(s). Dan On Wed, Nov 25, 2009 at 9:35 AM, CLIF jb...@bristol.us.com wrote: Thanks that it least tells me ther is somthing wrong with my spooler

RE: Spooler print to file program

2009-11-25 Thread Jim Idle
Do you have the TERM variable set up? Jim -Original Message- From: CLIF [mailto:jb...@bristol.us.com] Sent: Tuesday, November 24, 2009 5:34 PM To: jBASE Subject: Re: Spooler print to file program I have openseq_creates = true. The seq file does get created just that nothing ever

Re: Spooler print to file program

2009-11-25 Thread CLIF
The TERM variable, Hmm. What do you mean? I'm setting up the queue from the console and running the statement: LIST PART (P from the console with TERM set to NTCON. Is there something more I need to do with the TERM variable? On Nov 25, 10:42 am, Jim Idle j...@temporal-wave.com wrote: Do you

RE: Spooler print to file program

2009-11-25 Thread Jim Idle
Yeah but that is the TERM variable for your session and not the background job that is the spooler. I think older releases had a bug whereby if the TERM variable wasn't set then INPUT would fail, and TERM isn't set up for background jobs. You could try to set TERM in your program I suppose, but