Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I call dot command inside Perl script?

 Hi 

I want to transfer files from one server to another using .put and .get command. But all my scripts are in a Perl file. Each BF step just calls a function in that Perl, not directly write command inside a BF step.

How can I use .get command inside a perl script? I can run .get directly inside a doc command windows so I guess I can't do this? `.put ${FILE} rfksappd02_c999752:dummy`;

Thanks
Jirong

0 votes



2 answers

Permanent link
 I do not believe that you can run a dot command inside of a script executed by a step (I believe that the dot command is evaluated/executed before passing the control to the shell/script).

0 votes


Permanent link
The dot command is specific to the Build Forge engine.  However in your example you could put the "${FILE} rfksappd02_c999752:dummy" part into a temporary variable (see .tset) in Build Forge and reference it in a subsequent .put command.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025

Question asked: Sep 20 '12, 4:58 p.m.

Question was seen: 6,651 times

Last updated: Oct 01 '12, 3:58 p.m.

Confirmation Cancel Confirm