Search found 8 matches

by sprane01
Fri Jan 20, 2012 12:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP stage for ftping file from Linux server to Mainframe
Replies: 11
Views: 7679

Let me re-phrase.
the URI value in DS FTP stage is URI = ftp://hostname/../'N01.abc.xyz(+1)'

Datastage is adding .n0 , .n1 etc ( which I see in the logs)

Is that the correct format of filename that the ftp stage is expecting?

Appreciate all your inputs so far.
by sprane01
Fri Jan 20, 2012 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP stage for ftping file from Linux server to Mainframe
Replies: 11
Views: 7679

Its still not working. Below is what I find in the DS logs Remote system type is POSIX (z/OS). HFS directory `/u' is the current directory. Error: No such data set, file: //'N01.abc.xyz(+1)'.n0 Remote system type is POSIX (z/OS). HFS directory `/u' is the current directory. Error: No such data set, ...
by sprane01
Thu Jan 19, 2012 4:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP stage for ftping file from Linux server to Mainframe
Replies: 11
Views: 7679

can you give me an example of <url-style alias>. I am not a mainframe person and I think thats the part am missing. Thanks for your response
by sprane01
Thu Jan 19, 2012 10:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP stage for ftping file from Linux server to Mainframe
Replies: 11
Views: 7679

FTP stage for ftping file from Linux server to Mainframe

My requirement is to ftp files from Linux server to Mainframe GDG's using the FTP enterprise stage. Following is what I found in the documentation The syntax for a relative path is: ftp://host/path/filename Where path is the relative path of the user's home directory. The syntax for an absolute path...
by sprane01
Wed Jan 04, 2012 3:03 pm
Forum: General
Topic: Logging the output of orchadmin command
Replies: 10
Views: 5464

there is a typo..

success - writes orchadmin exec details + echo statements
failure - only echo statements.

Noticed this is happening only for orchadmin commands. Is writing error messages correctly for other unix commands.
by sprane01
Wed Jan 04, 2012 2:58 pm
Forum: General
Topic: Logging the output of orchadmin command
Replies: 10
Views: 5464

I have put an echo statement before and after the orchadmin like echo "attempting to delete file x" orchadmin rm -f "*.ds" >> log 2>&1 status=$? if [ $status -eq 0 ] then echo "delete successful" >>log else echo "delete failed" >>log fi In case of success ...
by sprane01
Wed Jan 04, 2012 11:21 am
Forum: General
Topic: Logging the output of orchadmin command
Replies: 10
Views: 5464

Logging the output of orchadmin command

I have a script on linux which deletes datasets using orchadmin command. Requirement - To be able to see the execution of orchadmin in a log file as we do if the script is executed on command prompt or even if orchadmin is executed directly on the prompt. Issue:- the script runs in test environment ...