Who's Online
0 registered (), 3 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Update EIT in SSHR
by Sahir
03:45 PM
End of Year Legislation Patch for 11i
by delboy
01:35 PM
Interfacing iRec and external sites
by DanC
11:42 PM
Capturing, Storing, & Paying Banked Overtime
by Paul
08:51 PM
Time and Labour & Oracle Projects
by Paul
07:34 PM
Search Engine Optimizers
by delboy
01:30 PM
Abseces in oracle hrms, super user: how to do I:
by JayTee
07:26 AM
Function for getting retropay-maintained balances
by CT
08/02/12 12:21 PM
Grade End Date
by Chris
03/02/12 10:46 AM
OLM Mandatory Enrolments
by bcooper
01/02/12 12:23 PM
Top Posters (30 Days)
CT 26
delboy 25
bcooper 15
Sahir 5
Gus 5
tovia123 4
Tim Bailey 3
christm 3
SBi 3
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 18216
CREATE_GRADE api returns:PLS-00306: wrong number o 13757
Still trying to locate... 12193
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 10646
Viewing Output of another user 9131
HR_PF.K RUP4 8841
Review of my Release 12 laptop 8494
Adding a taskflow button to a form 7855
Enhanced Retro & Release 12 7679
Family Pack K 7116
Topic Options
Rate This Topic
#287 - 24/05/05 02: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 02:47 PM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1095
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 03: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 03:10 PM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1095
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 03:20 PM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1095
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 03: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 06:03 AM Re: FTP'ing datafiles from APPS
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1095
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
756 Members
48 Forums
1517 Topics
7286 Posts

Max Online: 63 @ 24/11/10 07:21 AM
Today's Birthdays
No Birthdays
Recent vacancies
Tea boy available 4 basic chores & some! services
by Simon_Mc
19/01/12 03:59 PM
Top Posters
bcooper 1095
CT 1080
delboy 500
Geoff Dixon 369
SBi 344
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 160
Gus 132
February
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