All values not getting passed in exec command stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sameer06
Participant
Posts: 1
Joined: Sun Jun 19, 2011 7:07 am

All values not getting passed in exec command stage

Post by sameer06 »

Hi,

I have a requirement in which i am opening a file FILENAME.txt having the values A,B,C using an Exec command activity stage.
The output of above stage is passed into the start loop activity which inturn is passing these three values one by one to another exec command stage where i am using a command ECHO and have the activity variable #StartLoop_Activity_148.$Counter# of start loop as paramater.
The last value i.e. C is not getting in the output.

The flow is : Exec Comm. Stage1(cat FILENAME.txt) -->> Start Loop--> Exec Comm.2(Echo $Counter#)--> End Loop

It is giving the following warning:
SeqJextMARSMBMMRSSrc_Test..JobControl (@Execute_Command_150): Executed: echo C
Reply=
Output from command ====>
-1

Thanks,
Sameer
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Post the same log entry from the first Execute Command stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply