Who's Online
2 registered (CT, Chris Abraham), 7 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Concurrent Request - running slow
by CT
11 minutes 59 seconds ago
P11d's
by jkavia
38 minutes 53 seconds ago
Assignment EIT not displaying in Self Service
by CT
Today at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
Yesterday at 12:24 PM
In which table is external learning data stored
by DMC
Yesterday at 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Pension Auto Enrolment
by CT
18/05/12 09:46 AM
11.5.10 "Extended Support" extended til..... when?
by Vigneswar Battu
17/05/12 10:59 AM
Hacking element definitions
by CT
15/05/12 08:42 AM
GB EOY reports
by Vigneswar Battu
09/05/12 02:07 PM
Top Posters (30 Days)
CT 38
delboy 36
Vigneswar Battu 15
pat.woodall 9
bcooper 4
Gus 4
DMC 3
Mani 3
7Giri 3
Ryan 3
(Views)Popular Topics
Family Pack K issues thread 20153
CREATE_GRADE api returns:PLS-00306: wrong number o 15194
Still trying to locate... 13844
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11889
Viewing Output of another user 10307
HR_PF.K RUP4 10271
Review of my Release 12 laptop 9733
Enhanced Retro & Release 12 9397
Adding a taskflow button to a form 9129
Family Pack K 7906
Topic Options
Rate This Topic
#287 - 24/05/05 03:35 PM FTP'ing datafiles from APPS
MHemingway Offline
lurker

Registered: 27/04/05
Posts: 5
Loc: sometimes north sometimes sout...
Hi all .Mr Brookes has been waxing lyrical about the fine body of ladies and gents who participate in these forums. I've exhausted his considerable expertise in the area of vi and associated topics (yes took all of 2 mins) and am now looking for someone to add to his knowledge. . .Down to business. I have a simple problem really in that I've got some datafiles generated by custom concurrent programs which I need to copy to a ftp server. I'd like to do this by creating a unix shell script and use it to create a printer driver in Apps. I can then create a custom Printer and reference this printer when running programs via Concurrent Manager. The shell script would accept the filename as a parameter and then copy the file to the ftp server. . .So far I've created a simple shell script (.sh extension) and am referencing the shell script in a custom printer driver. I've also created a custom style and have referenced both the driver and style in a custom printer type. I've registered the printer type and am trying to use it for a concurrent program. So far the shell script doesn't seem to be called but I can't see any error messages generated. I'm still trying to get this process to work but wondered whether any of you guys had done this and could give me a few pointers . .thanks Mina.

Top
#288 - 24/05/05 03:47 PM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Mina .Is your shell script called directly from the conc manager? If so you need to symbolically link it with the FND Shell script process program fndcpesr as it is this process that is run by a Host concurrent executable. .Scripts run in this manner need a .prog extension. . .If it is not run directly from the conc manager then how exactly are you launching it? What shell is it running under? The shell is important as this will dictate the exact flavour of unix commands being used. . .As a final note before you come back with more info have you checked the permissions of the files concerned. As a default make sure they're all accessible with a chmod 777 etc.
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#289 - 24/05/05 04:02 PM Re: FTP'ing datafiles from APPS
MHemingway Offline
lurker

Registered: 27/04/05
Posts: 5
Loc: sometimes north sometimes sout...
Thanks for responding Barry . . I'm not calling my shell script from conc manager - I want to use the shell script to create a Printer Driver in apps. This would mean that instead of a file being sent to a printer the filename would be passed to my shell script as a parameter and would be copied onto a ftp server. This would allow me to have a generic 'Copy to FTP server' script which the user can opt to use or not use by selecting a printer or not when running a concurrent program. . .Hope that makes sense .Mina.

Top
#290 - 24/05/05 04:10 PM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Sheeeet!!! . .Not entirely sure if this is possible. . .I'd have to take a look at what goes on here where i'm working. I know that payslip files are intercepted by the Ops team and then redirected to a dedicated printer pre-loaded with the correct stationery. I'm assuming the payslip job has a printer driver specified on the conc job. . .As is becoming a usual saying here "i'll have a rumage around and see what I can find out".
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#291 - 24/05/05 04:20 PM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Okay hows about this to try. . .I'm assuming that you've created your printer driver using the 'Command' driver method. .And in the arguments you have put in your unix command? .Are you executing a FTP directly in the arguments box or have you specified a shell script name? .I ask because I think this box is expecting a unix command and if you you'd need to place your script into the standard unix commands directory (/bin I think). The rest of the arguments can then be parameters that you pass into the script. . .Am I getting warmer or colder???
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#292 - 24/05/05 04:59 PM Re: FTP'ing datafiles from APPS
MHemingway Offline
lurker

Registered: 27/04/05
Posts: 5
Loc: sometimes north sometimes sout...
You're definately getting warmer. Hmm I wasn't too sure where to place my shell script and I haven't put it into the standard unix directories. I shall try this tomorrow...yes I'm a slacker - I like to go home on time once in a while. I'll let you any outcomes .thanks for your help .Mina.

Top
#293 - 25/05/05 07:03 AM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Had a thought on this on the way home (sad i know). If it does need to go into the unix home then you may need admin or root permissions to do this (or be on good terms with your friendly neighbourhood DBA).
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top



Moderator:  bcooper, CT 
Forum Stats
791 Members
48 Forums
1582 Topics
7650 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1185
bcooper 1112
delboy 594
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 146
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31