<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Connect direct in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969286#M417486</link>
    <description>I use a shell script for Connect direct to copy files.&lt;BR /&gt;abc.sh contains &lt;BR /&gt;ndmcli  -x &amp;lt;&amp;lt; EOJ&lt;BR /&gt;submit maxdelay=0:01:0 proc1    process    snode=$node&lt;BR /&gt;step1    copy from  (file=$srcname snode) to    (file=$destname)&lt;BR /&gt;pend ;&lt;BR /&gt;EOJ&lt;BR /&gt;&lt;BR /&gt;Is there any way for me to get the msgid and process it in the shell script ?&lt;BR /&gt;&lt;BR /&gt;Can any please help me in this concern ?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 23 Mar 2006 06:25:14 GMT</pubDate>
    <dc:creator>vaish</dc:creator>
    <dc:date>2006-03-23T06:25:14Z</dc:date>
    <item>
      <title>Connect direct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969286#M417486</link>
      <description>I use a shell script for Connect direct to copy files.&lt;BR /&gt;abc.sh contains &lt;BR /&gt;ndmcli  -x &amp;lt;&amp;lt; EOJ&lt;BR /&gt;submit maxdelay=0:01:0 proc1    process    snode=$node&lt;BR /&gt;step1    copy from  (file=$srcname snode) to    (file=$destname)&lt;BR /&gt;pend ;&lt;BR /&gt;EOJ&lt;BR /&gt;&lt;BR /&gt;Is there any way for me to get the msgid and process it in the shell script ?&lt;BR /&gt;&lt;BR /&gt;Can any please help me in this concern ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 06:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969286#M417486</guid>
      <dc:creator>vaish</dc:creator>
      <dc:date>2006-03-23T06:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connect direct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969287#M417487</link>
      <description>I know if error exists or not using&lt;BR /&gt;ndmcli -x &amp;lt;&amp;lt; EOJ&lt;BR /&gt;submit maxdelay=0:01:0 proc1 process snode=$node&lt;BR /&gt;step1 copy from (file=$srcname snode) to (file=$destname)&lt;BR /&gt;pend ;&lt;BR /&gt;EOJ&lt;BR /&gt;&lt;BR /&gt;SAVE=$?&lt;BR /&gt;echo $SAVE&lt;BR /&gt;if [[ $SAVE &amp;gt; 0 ]]&lt;BR /&gt;then&lt;BR /&gt;echo "\n\n\nError: $SAVE"&lt;BR /&gt; &lt;BR /&gt;in the script , But I need to get the message id. Please help me in this concern</description>
      <pubDate>Thu, 23 Mar 2006 06:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969287#M417487</guid>
      <dc:creator>vaish</dc:creator>
      <dc:date>2006-03-23T06:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connect direct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969288#M417488</link>
      <description>The first problem you have is that it should really be called connect indirect, because you just submit jobs and it handles the transfers in background.&lt;BR /&gt;That aside, the only two things that I can think of are these:&lt;BR /&gt;1. Look at the stdout and stderr of your job submission command.  I think the msgid may be printed in there somewhere for you to grep.&lt;BR /&gt;2.  If that doesn't work, then look at the latest CD/NDM log file for traces of your submission.  You should be able to grep your pid, your task name, nodes, files etc and grep/cut out the msgid from that.  Its dirty but possible.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 06:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969288#M417488</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2006-03-23T06:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connect direct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969289#M417489</link>
      <description>I have a shell script like this (I have C:D 3.6.01 for HP-UX):&lt;BR /&gt;&lt;BR /&gt;#-----------------------------------------#&lt;BR /&gt;$CDTOP/bin/direct -x -e 4 &amp;lt;&lt;FIN&gt;&amp;gt;$MYLOGFILE 2&amp;gt;&amp;amp;1&lt;BR /&gt;submit maxdelay=unlimited&lt;BR /&gt;${PROCESS_NAME} process snode=$TARGET_NODE&lt;BR /&gt;&lt;BR /&gt;paso01 &lt;BR /&gt;  copy from (file = $SOURCE_FILE $FORMAT_CD pnode)&lt;BR /&gt;       ckpt=512K&lt;BR /&gt;       compress extended&lt;BR /&gt;       to   (file = $TARGET_FILE disp=rpl snode)&lt;BR /&gt;pend;&lt;BR /&gt;quit;&lt;BR /&gt;FIN&lt;BR /&gt;RC=$?&lt;BR /&gt;if [ $RC -ne 0 ] &lt;BR /&gt;then                        &lt;BR /&gt;      NUMPROCCD=`$GREP "Process Number =" ${MYLOGFILE} | awk -F"= " '{gsub(":","",$2);print $2}'`&lt;BR /&gt;      $DIRECT &amp;lt;&amp;lt; FIN2 &amp;gt;$STATFILE 2&amp;gt;&amp;amp;1&lt;BR /&gt;  sel stat pnum=$NUMPROCCD pname=$PROCESS_NAME detail=yes ;&lt;BR /&gt;  quit;&lt;BR /&gt;FIN2&lt;BR /&gt;  $CAT $STATFILE | $AWK 'BEGIN{find=0;end=0;find2=0;} \&lt;BR /&gt;                        { if ( $1 == "Completion" &amp;amp;&amp;amp;  $4 != 0 &amp;amp;&amp;amp; find == 0 ) \&lt;BR /&gt;                            { find=1;}; \&lt;BR /&gt;                          if ( find == 1 &amp;amp;&amp;amp; $1 == "Message" &amp;amp;&amp;amp; $2 == "Id" &amp;amp;&amp;amp; end == 0 ) \&lt;BR /&gt;                            { error=$4;end=1; }; \&lt;BR /&gt;                          if ( find == 1 &amp;amp;&amp;amp; end == 1 &amp;amp;&amp;amp; find2 == 0 &amp;amp;&amp;amp; $1 == "Short" ) \&lt;BR /&gt;                            { mensaje=$0; find2=1;}; \&lt;BR /&gt;                        }&lt;BR /&gt;                        END{print error, mensaje}' &amp;gt; $MSGERRORFILE 2&amp;gt;&amp;amp;1&lt;BR /&gt;fi&lt;BR /&gt;#-----------------------------------------#&lt;BR /&gt;The $MSGERRORFILE has the msgid and a short description of the error.&lt;BR /&gt;&lt;BR /&gt;You can send it to IT Operation Console or another monitoring tools.&lt;/FIN&gt;</description>
      <pubDate>Fri, 24 Mar 2006 05:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969289#M417489</guid>
      <dc:creator>Jose Ramón Rodríguez</dc:creator>
      <dc:date>2006-03-24T05:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Connect direct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969290#M417490</link>
      <description>Thanks</description>
      <pubDate>Thu, 07 Dec 2006 04:18:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/connect-direct/m-p/4969290#M417490</guid>
      <dc:creator>vaish</dc:creator>
      <dc:date>2006-12-07T04:18:22Z</dc:date>
    </item>
  </channel>
</rss>

