i have a variable that holds the file name and the location of that file, i need to move that file from one location to another.How can it be done using informix 4gl
file movement from one directory to another
177 Views Asked by Abhi421987 At
1
There are 1 best solutions below
Related Questions in INFORMIX
- Warnings in Informix database log
- How to release Informix lock from Java
- Informix - select from a temp table created in a 4gl with Interactive debugger?
- Informix throw internal error when creating new transaction in existing one
- How do I split a time range into days using stored procedure in informix 11.5?
- Informix PDO connection : Error SQLSTATE=HY000, SQLDriverConnect: -329 sqlerrm(systables)
- Informix database connection in Play framework
- What may cause connection to be null and How to reuse null reference object?
- SQL query if not null enter field value
- How to backup a single database residing in a dbspace in Informix?
- select for update in stored procedure (concurrently increment a field)
- Informix database issue: Changing the datatype format
- Unable to save dataframe on HDFS for Informix database
- Informix weekday calendar function not working
- SQL sum column in one table where value in another table is 'S'
Related Questions in 4GL
- Progress 4GL - Define variable month/year
- OpenEdge - Progress ABL: How to open a web browser inside a dialog window
- SAS 4GL - multiple informats
- sas 9.3 user deleted and created again Users Folders
- how to use Array of decimal in 4GL
- Concurrency Operation in Progress 4GL
- file movement from one directory to another
- Why does the Informix 4GL compiler complain about unknown option -fwritable-strings?
- how to make function in react js.with function definition and function call
- how set code page to export xml file ion progress 4gl
- How do I reference a TEXT type in Informix 4gl?
- Enforcing a minimum character length on a form field in I4GL
- Informix 4GL and triggers
- is it possible to write record as NO-UNDO in transaction?
- form-only lookup
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The RUN command will be used:
This assumes that
old_location,file_nameandnew_locationare all VARCHAR variables and not CHAR variables. If they are CHAR, you need to strip trailing blanks before concatenating:(You could omit the last CLIPPED.) This also assumes there are no spaces in the file names or locations. You have to work a bit harder if spaces can be present; you have to work considerably harder if you need to deal with quotes or newlines (etc) in the file names.