Here are 2 ways to send a print job to a file:

1)
*SP-CREATE A1 prog cat > /tmp/myfile.txt*
but this will overwrite *myfile.txt* each time a job is despooled from the
A1 queue.

2) Send the job to a hold file then, assuming the hold file number is 1:

*SP-EDIT 1 (I*

This will prompt for a destination file and ID.

***

Other than that, as Mike mentioned, you'd have to upgrade to get the FILE
device type, which will allow you to create a unique filename for each
print job.

Daniel

On Thu, Nov 19, 2020 at 1:27 PM Alan Metz <alanm...@gmail.com> wrote:

> Ok, thanks.
> That answers my question.
>
>
> On Thu, Nov 19, 2020 at 11:30 AM Mvreply <mvre...@zumasys.com> wrote:
>
>> Alan,
>>
>> That is because the FILE device type wasn’t implemented until jBASE 5.7.0.
>>
>>
>>
>> Mike
>>
>>
>>
>> *From:* jbase@googlegroups.com <jbase@googlegroups.com> *On Behalf Of *Alan
>> Metz
>> *Sent:* 19 November 2020 16:10
>> *To:* jbase@googlegroups.com
>> *Subject:* Re: Print to File, SP-CREATE
>>
>>
>>
>> Mike,
>>
>>    Here is the error I receive upon the SP-CREATE:
>>
>> jsh DEV ~ -->SP-CREATE A1 FILE /data/DEV/PENDING.REPORTS
>>
>> INVALID DEVICE TYPE
>> jsh DEV ~ -->
>>
>>
>>
>> On Thu, Nov 19, 2020 at 10:35 AM Mvreply <mvre...@zumasys.com> wrote:
>>
>> Al,
>>
>> See the following URLs:
>>
>>
>>
>> https://docs.zumasys.com/jbase/spooler/spooler-file-device-type/
>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.zumasys.com%2Fjbase%2Fspooler%2Fspooler-file-device-type%2F&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898898605%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=F68MZ8wgfJKLpQtp9CC8txLStge%2BKHgMNjPk1vjskFw%3D&reserved=0>
>>
>>
>>
>> https://docs.zumasys.com/jbase/spooler/sp-assign/
>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.zumasys.com%2Fjbase%2Fspooler%2Fsp-assign%2F&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898908598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wogw%2FFp1k8agz9ve%2BvcrcH%2FyiBiW2oGlaPvRS6G0SUo%3D&reserved=0>
>>
>>
>>
>> If you need further assistance then please submit a ticket to
>> supp...@zumasys.com
>>
>>
>>
>> Mike
>>
>>
>>
>> *From:* jbase@googlegroups.com <jbase@googlegroups.com> *On Behalf Of *
>> alan...@gmail.com
>> *Sent:* 19 November 2020 15:25
>> *To:* jBASE <jbase@googlegroups.com>
>> *Subject:* Print to File, SP-CREATE
>>
>>
>>
>> I am looking to print existing printed reports to a file in a jbase
>> directory for subsequent use.  What is the proper syntax for the
>> SP-CREATE...SP-DEVICE commands?
>>
>> Something like:
>>
>> SP-CREATE A1 FILE /tmp/outputfile
>>
>> then
>>
>> SP-ASSIGN A1
>>
>> LIST filename  ... LPTR
>>
>>
>>
>> Jbase Version 5.6.2  on Aix 6.1
>>
>>
>>
>> Thanks,
>>
>> Al
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898908598%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=sL2s%2BBkWXw9LWMq5In64xFvIMYr85tMkbov3P3vrLD4%3D&reserved=0>
>>
>> ---
>> 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 jbase+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/3f1732cf-bd07-4cf4-9bb1-0a18373e8537n%40googlegroups.com
>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F3f1732cf-bd07-4cf4-9bb1-0a18373e8537n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898918590%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FbpVmFI8ry%2BdSCuLvmXuI%2FE%2F%2FX3ocKkVeWFDMcfhxDM%3D&reserved=0>
>> .
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898928583%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GA9396dwC%2BQh3tETDWOdSuZXxUozBeoTp8xXZN3ib5w%3D&reserved=0>
>>
>> ---
>> 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 jbase+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/DM6PR18MB293951E62D251A69E357F4B1B3E00%40DM6PR18MB2939.namprd18.prod.outlook.com
>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2FDM6PR18MB293951E62D251A69E357F4B1B3E00%2540DM6PR18MB2939.namprd18.prod.outlook.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898928583%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8hLt%2BZIO%2FbQE03T5yxl6Ft0ut3micqpRFZHwNvlsv%2Fw%3D&reserved=0>
>> .
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898938576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JPns07m9C6JQI8Ey7dvOfUtrL6wn2MOQQwVLhT0pBxg%3D&reserved=0>
>>
>> ---
>> 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 jbase+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/CAPPLyKD7dX8mu_DhwOugKO8%3DPEa6MbW7hqYcLwJNpOKxdYQ90A%40mail.gmail.com
>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2FCAPPLyKD7dX8mu_DhwOugKO8%253DPEa6MbW7hqYcLwJNpOKxdYQ90A%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7C0d79503c9078414ce96908d88ca5c43a%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637413990898938576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yyn5zBb8NEIYazUvKO7HjWYwxGvrOsy%2Bms6SiX%2FuE7I%3D&reserved=0>
>> .
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> 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 jbase+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/DM6PR18MB2939EDA4621C97BC7969089BB3E00%40DM6PR18MB2939.namprd18.prod.outlook.com
>> <https://groups.google.com/d/msgid/jbase/DM6PR18MB2939EDA4621C97BC7969089BB3E00%40DM6PR18MB2939.namprd18.prod.outlook.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> 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 jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/CAPPLyKAhf1YWhxcZPB6OA6%3DpaKmHA8sKqdo5LnBrq_as6j7wvA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jbase/CAPPLyKAhf1YWhxcZPB6OA6%3DpaKmHA8sKqdo5LnBrq_as6j7wvA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
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 jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CADNxFdOLK%3DCsZBWU3spBaLAj7rXV00pL0OXUX%2B%3DDw%3DkTOq-e7Q%40mail.gmail.com.

Reply via email to