Search found 30 matches
- Wed Apr 18, 2007 8:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ftp - write ls or dir to file while ftp'ing
- Replies: 1
- Views: 1189
ftp - write ls or dir to file while ftp'ing
Executing a batch job through execute command. Was having an issue with the batch where I need to check if FTP was successful by reading the ls or dir, and send that list to a file, then use grep on that file to find my required file name. Any suggestions? slightly out of the DS realm but any help i...
- Mon Apr 16, 2007 2:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Does file exist on mainframe
- Replies: 5
- Views: 3511
Does file exist on mainframe
Hi all, I am trying to finish up a job sequence that sends a success/failure notification if a file is/is not created on the mainframe. Does anyone know how to accomplish this? I assume it would be something like a script checking if file exists after logging into a server via FTP... I am unsure of ...
- Thu Apr 12, 2007 12:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Routine - does file exist
- Replies: 5
- Views: 2080
- Thu Apr 12, 2007 9:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Routine - does file exist
- Replies: 5
- Views: 2080
- Thu Apr 12, 2007 8:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Routine - does file exist
- Replies: 5
- Views: 2080
Routine - does file exist
Hi all,
I am a real newb with routine writing. I am trying to have a routing that looks for a file. If it exists then the routine is OK, otherwise it is a Fail.
Could anyone help me out on this? or point me to some resources that I can sift through to find a solution?
Thanks and happy thursday![Smile :)](./images/smilies/icon_smile.gif)
I am a real newb with routine writing. I am trying to have a routing that looks for a file. If it exists then the routine is OK, otherwise it is a Fail.
Could anyone help me out on this? or point me to some resources that I can sift through to find a solution?
Thanks and happy thursday
![Smile :)](./images/smilies/icon_smile.gif)
- Tue Apr 10, 2007 11:53 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Execute Command - Shell script execution error
- Replies: 12
- Views: 16979
- Fri Mar 02, 2007 12:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing Routine Output as Parameter into SQL Query
- Replies: 4
- Views: 5173
Passing Routine Output as Parameter into SQL Query
Hi all, Had help with parts of this recently but can't get to the end result. I have a Routine which reads a list, passes the list to a parameter in string format, and a Job which trys to use this parameter in a WHERE clause in a DB2 SQL Query. Here are the specifics: The Routine is as follows: Ans ...
- Thu Mar 01, 2007 10:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 SQL referencing a list
- Replies: 16
- Views: 6547
Hey again Ray, Well i appear to have set the value of the parameter correctly. This is the value of the param passed in: ppFNDPolicyList='0136530000','0322430008','0414643009','0532516008' So thats all good. But when I run the following code: SELECT CTR_POL_NUM, CTR_RSA_TOT_PREM FROM DMIDBO.CTR_TRAN...
- Wed Feb 28, 2007 9:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 SQL referencing a list
- Replies: 16
- Views: 6547
- Tue Feb 27, 2007 4:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 SQL referencing a list
- Replies: 16
- Views: 6547
- Tue Feb 27, 2007 4:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Exec. Command stage to import sequential file info
- Replies: 10
- Views: 3208
I can grab the data fine now... db2testing_exec_command..JobControl (@Execute_Command_8): Executed: type \\Nho04\micpriv\Adam\CPC_Datasets\ER_CPC_Unmatched_HUON_PolicyNumbers.txt Reply=0 Output from command ====> '0136530000','0322430008','0414643009','0532516008', however I am still getting the sam...
- Tue Feb 27, 2007 3:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 SQL referencing a list
- Replies: 16
- Views: 6547
- Tue Feb 27, 2007 2:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Exec. Command stage to import sequential file info
- Replies: 10
- Views: 3208
- Tue Feb 27, 2007 1:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Exec. Command stage to import sequential file info
- Replies: 10
- Views: 3208
It seems to not like the <1>. My expression is Execute_Command_8.$CommandOutput<1> and it give me a compile error of 'Expected: Expression'. I tried Execute_Command_8.$CommandOutput[1] It compiled but errored on execution with the same error: db2testing..JobControl (@jobDB2FNDtest): Controller probl...
- Tue Feb 27, 2007 10:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Exec. Command stage to import sequential file info
- Replies: 10
- Views: 3208
Ok that makes sense about the list, thanks for the input I was unaware of how exactly the list setting worked. I have formatted my input .txt file to have all values on one line... i.e. '12345','54321', This parameter is now defined as a string as well. I am still recieving the same error. Where exa...