Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] Handling exit command from batch file using Data Migrator Flow

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Handling exit command from batch file using Data Migrator Flow
 Login/Join
 
Member
posted
Hi there,

i am trying to execute one batch file, (which contains only unexpected exit or we can say non zero exit i.e. EXIT -99 ...) using Data Migrator flow ...it should display me exit code and should say DMC flow fail as batch file return value is non zero ...so i putted code in DMC flow as below:

-DOS exit_bat.bat > exit_log.log
-TYPE exitreturn =:: &EXITRC
-IF &EXITRC EQ 0 GOTO :NEXT1 ELSE GOTO :ERROUT;


-:NEXT1

-TYPE EXECUTION COMPLETED
-EXIT

-:ERROUT
-TYPE ERROUT
-SET &&CM__RETURN = 1;
-EXIT


exit_bat.bat file contains only

EXIT -99

Can anyone help me out on this...
Thank you.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 9 | Registered: December 09, 2016Report This Post
Guru
posted Hide Post
To stop processing use
-SET &&KILL_RPC='Y';

Please see the DMUG section "Reference: Control Variables" for details.


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] Handling exit command from batch file using Data Migrator Flow

Copyright © 1996-2020 Information Builders