|
From: | studiok |
Subject: | [open-cobol-list] File path. |
Date: | Wed, 08 May 2013 17:20:10 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Hi,
@ Vince thank you. @ all It seems that: working-storage section. 01 myfilepath pic x(50). 01 myfilename pic x(20). Procedure division. move spaces to myfilepath myfilename move "something.txt" to myfilename string "/abc/def" delimited size "/xyz/" delimited size "filename" delimited spaces into myfilepath end-string ------------> that is /abc/def/xyz/something.txt string "/abc/def" delimited size "/xyz/" delimited size '"' delimited size "filename" delimited spaces '"' delimited size into myfilepath end-string ------------> that is /abc/def/xyz/"something.txt" get different results. First of which file-status 35. Is it possible? marcellom Il 08/05/2013 14:29, vbcoen ha scritto:
|
[Prev in Thread] | Current Thread | [Next in Thread] |