Hi Charlie i wrote a program to start my jBASE printer Q but in jBASE5 i force the Q to start on a specificPORT number
So for Q233 as an exemple i set the JBCPORTNO to QNUM + 1000 to start the jspprint to PORT 1233 to easily find them. But using a program as the device will probably want to start another port number but is limited to PORT 1233 but it's already use by itself so that can work instead i use JBCPORTNO=QNUM+1000,1000-1999 to try to start it on port 1233 but may use other free port between 1000 and 1999 as well. Robert Le mardi 5 juillet 2016 17:53:59 UTC-4, Charlie Noah a écrit : > > Hi Robert, > > Would you share what the problem was with us? It might help someone else > who runs into the same thing. > > Charlie Noah > > On 07-05-2016 3:51 PM, Robert Beaudry wrote: > > Ok i found why it was not working... it ok now. > > Thanks, > > Robert B. > > > > Le lundi 4 juillet 2016 09:56:11 UTC-4, Robert Beaudry a écrit : >> >> Yes there is a jspform in jBASE 3 but i used exactly the same in jBASE 5 >> so it should give the same result isn't it. >> >> I compared my jspform_nobanner with the jspform_deflt that came with >> jbase5 instalation and the only difference is the LOGGERSIZE 1 in mine vs >> LOGGERSIZE 10M for jbase5. >> >> So why is it working for you... >> >> Robert >> >> >> >> >> >> >> Le jeudi 30 juin 2016 11:44:14 UTC-4, Robert Beaudry a écrit : >>> >>> Hi, >>> >>> We plant to migrate to jBASE 5 but we have a couple of jBASE printer >>> queue that use a program to be able to do special thing. >>> >>> It's working fine with jbase 3 but not with jbase 5. >>> >>> Here is a little program to test that. >>> >>> TEST_PTR >>> 001 EQUATE MYPATH TO "/tmp/" >>> 002 OPEN "/JBASE_ACCOUNTS/OPER/SYST" TO SYST ELSE DEBUG >>> 003 READVU VR.SEQ FROM SYST,"VR_NUM",1 THEN VR.SEQ ++ ELSE VR.SEQ = 0 >>> 004 VR.SEQ = VR.SEQ "R%8" >>> 005 EXECUTE "/usr/bin/tee ": MYPATH : VR.SEQ >>> 006 WRITEV VR.SEQ TO SYST,"VR_NUM",1 >>> >>> After that you create a jBASE printer queue with that program as the >>> device >>> >>> 11:19:14 30 JUN 2016 QUEUE STATUS PAGE 2 OF 2 >>> PAGES >>> >>> QUEUE NAME DEVICE STATUS #Q SKIP XLT >>> BLKSZ >>> >>> Q99 PROG TEST_PTR ASSIGNED 0 0 >>> >>> If you print something to that queue you should have a file in the /tmp >>> that begin with 000000* >>> >>> Work fine with jBASE 3.4.10 on AIX 5.3 but not with jBASE 5 on AIX 7.1 >>> >>> Does anybody have a solution? >>> >>> Thanks, >>> >>> Robert B. >>> >> -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] <javascript:> > To unsubscribe, send email to [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. 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 --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
