It's all about the answers!

Ask a question

.put command is not finished, but no error


Jirong Hu (1.5k9295258) | asked Sep 24 '12, 11:12 a.m.
This is my simple command and output:

echo "IMPORT: Copy the changed file from ClearCase view to Informatica Server."
.put ${FILE} rfksappd02_c999752:${LAND_DIR}

Why only read but no write?


 1 09/24/12 11:07AM STEP Step using selector 'ccreqpwebd01_ccadm01'.
9	09/24/12 11:07AM	COND	The condition on the step [IMPORT eq IMPORT] evaluated true, this step will continue to be executed.
205	09/24/12 11:07AM	EXEC	 start [\@ccreqpwebd01] echo "IMPORT: Copy the changed file from ClearCase view to Informatica Server."
206	09/24/12 11:07AM	EXEC	 Performing variable expansion on command line
219	09/24/12 11:07AM	EXEC	"IMPORT: Copy the changed file from ClearCase view to Informatica Server."
220	09/24/12 11:07AM	EXEC	 end [\@ccreqpwebd01] echo "IMPORT: Copy the changed file from ClearCase view to Informatica Server." (0)
221	09/24/12 11:07AM	EXEC	.put M:\c999752_ABC_DEV\Informatica_AVOB\ABC_infa\dummy\TestDEV7.txt rfksappd02_c999752:dummy
222	09/24/12 11:07AM	EXEC	Read of M:\c999752_ABC_DEV\Informatica_AVOB\ABC_infa\dummy\TestDEV7.txt complete.

4 answers



permanent link
David Brauneis (50611) | answered Sep 24 '12, 2:18 p.m.
JAZZ DEVELOPER
 I think the proper syntax for the command would be:
    .put ${FILE} rfksappd02_c999752:${LAND_DIR}/${FILE}

Comments
Jirong Hu commented Sep 24 '12, 2:39 p.m. | edited Sep 24 '12, 2:52 p.m.

Same result as shown below.


Jirong Hu commented Sep 24 '12, 2:59 p.m. | edited Sep 24 '12, 3:00 p.m.

My get command works with no issue: .get rfksappd02_c999752:${LAND_DIR}/${FNAME} ${FILE}

Only the put comment has problem: .put ${FILE} rfksappd02_c999752:${LAND_DIR}/${FNAME}


permanent link
Jirong Hu (1.5k9295258) | answered Sep 24 '12, 2:35 p.m.
edited Sep 24 '12, 2:57 p.m.
Same result. I can do a .get with no problem. What id shall I use for this .put command? The BF agent's auth id, or an id have access to the target folder, or both? c999752 is my id, server rfksappd02_c999752 means using c999752 to auth, and I am put the file into /home/c999752/dummy folder. The server's rfksappd02_c999752 path is set to /home/c999752. Shouldn't be any access issue.

 start [\@ccreqpwebd01] echo "IMPORT: Copy the changed file from ClearCase view to Informatica Server."
206	09/24/12 02:30PM	EXEC	 Performing variable expansion on command line
219	09/24/12 02:30PM	EXEC	"IMPORT: Copy the changed file from ClearCase view to Informatica Server."
220	09/24/12 02:30PM	EXEC	 end [\@ccreqpwebd01] echo "IMPORT: Copy the changed file from ClearCase view to Informatica Server." (0)
221	09/24/12 02:30PM	EXEC	.put M:\c999752_ABC_DEV\Informatica_AVOB\ABC_infa\dummy\TestDEV3.txt rfksappd02_c999752:dummy/TestDEV3.txt
222	09/24/12 02:30PM	EXEC	Read of M:\c999752_ABC_DEV\Informatica_AVOB\ABC_infa\dummy\TestDEV3.txt complete.

permanent link
David Brauneis (50611) | answered Sep 24 '12, 4:29 p.m.
JAZZ DEVELOPER
 Have you taken a look at the help around copying files and permissions:
    http://pic.dhe.ibm.com/infocenter/bldforge/v7r1m3/index.jsp?topic=%2Fcom.ibm.rational.buildforge.doc%2Ftopics%2Fsteps_file_copy_enable.html

Otherwise I'm not a real expert on the permissioning in this arena... I would assume the ID in use needs to be able to access both the source and destination directories.

Comments
Jirong Hu commented Sep 24 '12, 4:54 p.m.

I've enabled all servers involved, still the same. The bad thing is there is no output, no error. Is there a way to find out what's wrong?


permanent link
David Brauneis (50611) | answered Sep 24 '12, 4:59 p.m.
JAZZ DEVELOPER
 At this point, I would suggest that you call support and get a PMR opened for additional help with this.

Comments
Jirong Hu commented Sep 24 '12, 7:56 p.m.

Yes, I opened a PMR. Thanks for your time!

Your answer


Register or 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.