Running jbase program
- namco
- Topic Author
- Visitor
-
14 years 6 months ago #6166
by namco
Running jbase program was created by namco
When trying to run the program below from the jbase am getting permission denied error, but i have access to the files. Where could i be missing it.
PROGRAM TEST.PRINT1
PRINTER ON ;
CMD1 = "SETPTR ,132,26,0,0,3,BANNER HOLD10,NOFMT,BRIEF"
EXECUTE CMD1
HDR = "HEADING 1 "
HEADING HDR ;*---->Header
PRINT "PRINTER 1 ": ;*----> data
PRINTER OFF
PRINTER CLOSE
**************
* 2ND REPORT - This report contains only data and NO Header:
**************
PRINTER ON ;
CMD2 = "SETPTR ,132,6,0,0,3,BANNER HOLD20,BRIEF"
EXECUTE CMD2
FOR J = 1 TO 20
IF J = 5 THEN PAGE
PRINT " DATA ":J ;*
>only data
NEXT J
PRINTER OFF
PRINTER CLOSE
STOP
PROGRAM TEST.PRINT1
PRINTER ON ;
CMD1 = "SETPTR ,132,26,0,0,3,BANNER HOLD10,NOFMT,BRIEF"
EXECUTE CMD1
HDR = "HEADING 1 "
HEADING HDR ;*---->Header
PRINT "PRINTER 1 ": ;*----> data
PRINTER OFF
PRINTER CLOSE
**************
* 2ND REPORT - This report contains only data and NO Header:
**************
PRINTER ON ;
CMD2 = "SETPTR ,132,6,0,0,3,BANNER HOLD20,BRIEF"
EXECUTE CMD2
FOR J = 1 TO 20
IF J = 5 THEN PAGE
PRINT " DATA ":J ;*
>only data
NEXT J
PRINTER OFF
PRINTER CLOSE
STOP
Please Log in or Create an account to join the conversation.
- sharathnp
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 1
14 years 6 months ago #6169
by sharathnp
Replied by sharathnp on topic Re: Running jbase program
Paste the error message
Please Log in or Create an account to join the conversation.
- namco
- Topic Author
- Visitor
-
14 years 5 months ago #6181
by namco
Replied by namco on topic Re: Running jbase program
PERMISSION DENIED
Please Log in or Create an account to join the conversation.
Time to create page: 0.043 seconds