Sponsored Content
Top Forums UNIX for Beginners Questions & Answers BMC ControlM Scheduling Query Post 303045702 by rammohanavvs on Thursday 9th of April 2020 12:31:30 PM
Old 04-09-2020
BMC ControlM Scheduling Query

Can I get some help to build the control M schedule sufficing for the below secnario.

Scenario :
  • Step 1 : In one of my hostserver I will be receiving files (for ex: Selection_CRQ12345.txt etc) form MFT and these files can be more than one, and every inout file will have different CRQ number. Hence the filemas will be Selection_CRQ[0-9][0-9][0-9][0-9][0-9].txt.
  • Step 2: There are few jobs like J1,J2,J3 which should get kicked off if file any new file is available and I would like to pass the CRQ number (part of input file) to these jobs as a parameter (i.e. %%CRQ). For ex: , We have got two files in the inbound area i.e. Selection_CRQ12345.txt and Selection_CRQ99999.txt , so I am expecting the J1,J2,J3 should get trigerred twice (one for CRQ=12345 and other run for CRQ=99999).
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

sudo comand with ControlM

I'm trying to change the user Id that the script is running under. I tried the sudo comand but the job was submitted under ControlM and it seems that controlM is not allowing the user id to change. I have included the job output below. The sudo comand was suppose to set the user id to "DWSOLAP"... (3 Replies)
Discussion started by: u156531
3 Replies

2. UNIX for Advanced & Expert Users

Version of BMC Patrol???

How can you determine the version/level of BMC on a given Solaris server? (3 Replies)
Discussion started by: jpeery
3 Replies

3. AIX

nmon integration with BMC

Hello, My field is operations monitoring and this is the first time I am looking into server monitoring, so apologies if I ask stupid questions. I would like to know if it is possible to integrate nmon with BMC patrol, i.e. feeding metrics/events from nmon into BMC patrol? Thanks in... (6 Replies)
Discussion started by: Futura
6 Replies

4. Shell Programming and Scripting

add the output of a query to a variable to be used in another query

I would like to use the result of a query in another query. How do I redirect/add the output to another variable? $result = odbc_exec($connect, $query); while ($row = odbc_fetch_array($result)) { echo $row,"\n"; } odbc_close($connect); ?> This will output hostnames: host1... (0 Replies)
Discussion started by: hazno
0 Replies

5. UNIX for Dummies Questions & Answers

Identify File with ControlM Characters

Dear Members, I have a file which contains ControlM characters in it. I need a command by the means of which i should be able to identify if a file has controlM characters. How can this be achieved. Thanks Sandeep (4 Replies)
Discussion started by: sandeep_1105
4 Replies

6. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

7. Solaris

BMC device

Hi All, Can some one say what is an BMC device in solaris, and how does it help. Thanks in advance:) (1 Reply)
Discussion started by: ravijanjanam12
1 Replies

8. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies

9. AIX

BMC package and ingeneral all packages in AIX (Similar to pkginfo in Linux)

Hi , I want to know is there any command in AIX similar to pkginfo ? that shows details of all packages installed and we can grep whatever we need to check? Thanks Rafi (2 Replies)
Discussion started by: rafi49
2 Replies

10. UNIX for Beginners Questions & Answers

Exit1 not to report failure in controlM

HI Team, I running below script from controlM and job is reporting as failure everyday so i tried to change the if exitstatus=1 (send only email) but not to end as a job is failed. can you let me know where i have to change this script to make the script not to fail but instead send email and... (3 Replies)
Discussion started by: Mi4304
3 Replies
Test::BDD::Cucumber::Harness::Data(3pm) 		User Contributed Perl Documentation		   Test::BDD::Cucumber::Harness::Data(3pm)

NAME
Test::BDD::Cucumber::Harness::Data - Builds up an internal data representation of test passes / failures VERSION
version 0.11 DESCRIPTION
A Test::BDD::Cucumber::Harness subclass which collates test data ATTRIBUTES
features An array-ref in which we store all the features executed, and completed. Until "feature_done" is called, it won't be in here. current_feature current_scenario current_step The current feature/step/scenario for which we've had the starting method, but not the "_done" method. feature feature_done Feature hashref looks like: { object => Test::BDD::Cucumber::Model::Feature object scenarios => [] } scenario scenario_done Scenario hashref looks like: { object => Test::BDD::Cucumber::Model::Scenario object dataset => Data hash the scenario was invoked with steps => [], } step step_done Step hashref looks like: { context => Test::BDD::Cucumber::StepContext object result => Test::BDD::Cucumber::Model::Result object (after step_done) } feature_status scenario_status step_status Accepting one of the data-hashes above, returns a Test::BDD::Cucumber::Model::Result object representing it. If it's a Feature or a Scenario, then it returns one representing all the child objects. find_scenario_step_by_name Given a Scenario and a string, searches through the steps for it and returns the data-hash where the Step Object's "<-"text>> matches the string. AUTHOR
Peter Sergeant "pete@clueball.com" LICENSE
Copyright 2011, Peter Sergeant; Licensed under the same terms as Perl perl v5.14.2 2012-05-20 Test::BDD::Cucumber::Harness::Data(3pm)
All times are GMT -4. The time now is 04:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy