Computing.Net > Forums > Office Software > Unix Scripting

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unix Scripting

Reply to Message Icon

Name: beejay
Date: November 9, 2009 at 05:08:49 Pacific
OS: HPUX
Product: Hp (hewlett-packard) I2000 dual itaninum-800 18gb-hd 2gb dvd quadro2 10/100 hpux/winxp
Subcategory: General
Comment:

Hi There.
I am running a unix script that ftp's into an as/400 i-series server and downloads files into a unix filesystem. These files are all suffixed with .DZ12504 which I think is the file definition format. The files look something like this: total 612
-rw-rw-rw- 1 root sys 20249 Nov 9 11:16 PBS1109A.DZ12504
-rw-rw-rw- 1 root sys 279476 Nov 9 11:16 PBT1109A.DZ12504
-rw-rw-rw- 1 root sys 12697 Nov 9 11:16 PBU1109A.DZ12504

I would like to find out how I can globally change the .DZ12504 suffix to .txt. Bear in mind that there could be up to 11 files at a time. Once the files have been changed to reflect the .txt suffix SAP will then read these files and update the SAP database with this info. I have looked at sed , cat and mv but don't what the best is. Could you please assist. Warm regards



Sponsored Link
Ads by Google

Response Number 1
Name: Humar
Date: November 9, 2009 at 05:40:17 Pacific
Reply:

Hi,

You have posted in the Office Software forum which is for issues with programs such as Excel and Word.

I suggest you post in the Unix or Programming forum.

Regards


0

Response Number 2
Name: beejay
Date: November 9, 2009 at 06:06:30 Pacific
Reply:

Will do....


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Unix Scripting

Outlook report display www.computing.net/answers/office/outlook-report-display/761.html

Excel Macro/Script Problems www.computing.net/answers/office/excel-macroscript-problems/1145.html

file attach to .oft via script? www.computing.net/answers/office/file-attach-to-oft-via-script/4556.html