Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interesting, Text got attached in middle of the command

Status
Not open for further replies.

nitindn

Programmer
Feb 18, 2003
6
AU
Hi All,
My problem is, Sometimes Suddenly next line command Text appears in previous line syntax and hence failing the Routine Job which is called by Job control.

this is the commands in order to execute in the Routine:

vCatCommand = "cat ":pDSDir:pProjectDir:pCTagOutDir:"SCS_append1 ":pDSDir:pProjectDir:pCTagOutDir:"Sp_EtlAus_CollflagAPI ":pDSDir:pProjectDir:pCTagOutDir:"SCS_append2 > ":pDSDir:pProjectDir:pCTagOutDir:vPSAPIFile
Call DSLogInfo(quote(vCatCommand), "Cat command : ")

Output in The logs is:
Item #: 488
Event ID: 1768846
Timestamp: 2005-07-07 10:29:38
Type: Info
User Name: dsadmin
Message: RunMaintainCollStatusJC..JobControl (Cat command : ): "cat /datastage/coll_prod/data/work/ctag/SCS_append1 /datastage/coll_prod/data/work/ctag/Sp_EtlAus_CollflagAPI /datastage/coll_prod/data/work/ctag/SCS_append2 > /datastage/coll_prod/data/work/ctag/Sp_EtlAus_CollflagAPI[14509] Done : DSD.RUN UpdateMaintainCollectionStatusSeq. 0/50 pDSDir=/datastage/ pProjectDir="coll_prod" pErrorDir=/data/reject/ pLogDir=/data/log/ pTempDir=/data/temp/ pCTagOutDir=/data/work/ctag/ pCTagArcDir="/data/extract/archive/mtn_coll_status/" pCTagFile=CTAG20050707102500aa pSVAPIDir="/datastage/coll_prod/script/sv_api/" DSJobController=RunMaintainCollStatusJC
20050707102938.sql"


Second statement Call DSLogInfo output as mentioned below is suddenly came inside the CAT COMMAND syntax. You could see this followin text in above output log appeared inbetween.

[14509] Done : DSD.RUN UpdateMaintainCollectionStatusSeq. 0/50 pDSDir=/datastage/ pProjectDir="coll_prod" pErrorDir=/data/reject/ pLogDir=/data/log/ pTempDir=/data/temp/ pCTagOutDir=/data/work/ctag/ pCTagArcDir="/data/extract/archive/mtn_coll_status/" pCTagFile=CTAG20050707102500aa pSVAPIDir="/datastage/coll_prod/script/sv_api/" DSJobController=RunMaintainCollStatusJC

Why it is so? Memory problem? Does any one has any idea? Would be much helpful if some one can help me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top