I'm currently trying to do this from a bash script but I'm not sure how to 
pipe into the COPY command.
Can anyone suggest something that works along the lines of:

mkdir tmp123
echo "(tmp123"|COPY DICT MYFILE *

This just seems to try to copy contents of the current folder to itself!

On Saturday, 24 July 2021 at 20:50:58 UTC+10 mvr...@zumasys.com wrote:

> Stuart,
>
> This option is meant for resizing hashed source code files to a folder and 
> does include an OBJECT data section.
>
>  
>
> There is currently no option to resize to a regular TYPE=UD.
>
> This works on Windows but seems to be a problem on Linux.
>
>  
>
> We will look into it.
>
>  
>
> Mike
>
>  
>
> *From:* jb...@googlegroups.com <jb...@googlegroups.com> *On Behalf Of *Stuart 
> Boydell
> *Sent:* 23 July 2021 08:38
> *To:* jBASE <jb...@googlegroups.com>
> *Subject:* Convert file to folder (UD)
>
>  
>
> jrf -jHbc option to resize a hashed file to an OS folder doesn't seem to 
> work. Is there a trick or alternative to resize to an OS folder?
>
>  
>
> Also, if I can get it working - will this create an OBJECT part - which I 
> don't want?
>
>  
>
> In a zumasys/jbase:latest container:
>
>  
>
> >CREATE-FILE TEST1
>
> [ 417 ] File TEST1]D created , type = JD
>
> [ 417 ] File TEST1 created , type = JD
>
> >OFF
>
> sh-4.4# jsh -a TEST
>
> >jrf -Hjbc TEST1
>
> /jbasedata/dbms/TEST/TEST1 is currently an empty file
>
> (R)esize anyway or (S)kip file resize: R
>
> MOVE /jbasedata/dbms/TEST/1tmp.jrf to /jbasedata/dbms/TEST/TEST1 failed 
> with error: 20
>
> Resize of /jbasedata/dbms/TEST/TEST1 was skipped!
>
> 0 file(s) resized.
>
> 1 file(s) skipped and could not be overwritten (probably in use)...
>
> MOVE /jbasedata/dbms/TEST/1tmp.jrf to /jbasedata/dbms/TEST/TEST1 failed 
> with error: 20
>
> Elapsed: 00:00:05
>
> -- 
> -- 
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>  
> To post, send email to jb...@googlegroups.com
> To unsubscribe, send email to jbase-un...@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%7Ca3010fe7a37741fb9c1108d94e038e1d%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637627143645828584%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3HklnAx5G1Bzi7lfw7kinsqs9y8Jp4tlaXtEQRDOkSU%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+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jbase/6a244bbf-5ec3-4869-8bff-c7fac02293a4n%40googlegroups.com
>  
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F6a244bbf-5ec3-4869-8bff-c7fac02293a4n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7Ca3010fe7a37741fb9c1108d94e038e1d%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637627143645838540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XsmCj8hfzMHEfGUxpfGTnhoks2vEdwZpTaaANR21ac4%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/d8783297-c628-4aac-bf5d-5d727a30923cn%40googlegroups.com.

Reply via email to