{"id":14548,"date":"2020-08-21T10:39:02","date_gmt":"2020-08-21T08:39:02","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/"},"modified":"2020-08-21T10:39:02","modified_gmt":"2020-08-21T08:39:02","slug":"control-m-em-remove-command-line-from-the-jobs-ouput","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/","title":{"rendered":"Control-M\/EM  Remove command line from the job&#8217;s output"},"content":{"rendered":"<h3>introduction<\/h3>\n<p>Hi everybody,<br \/>\nToday we will check how to remove the display of the command line from your jobs outputs<br \/>\nin some case it can be asked to only have the result of the script, for example when attaching it in mail sent to a customer.<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42576\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT1.png\" alt=\"\" width=\"1106\" height=\"782\" \/><\/a><\/p>\n<h3>use the ctmunixcfg utility<\/h3>\n<p>first step is to open a command line and connect with your agent&#8217;s<\/p>\n<pre class=\"brush: cpp; gutter: true; first-line: 1\">CTMSRVCENTOS% ctmunixcfg\n\nOS Configuration Utility\n\n1) Bourne Shell Flags . . . .(-x|-v|n): [-x]\n2) Korn Shell Flags . . . . .(-x|-v|n): [-x]\n3) Sysout Name. . .(MEMNAME|JOBNAME). : [MEMNAME]\n4) Temporary Scripts Saving (YES|NO) : [NO]\n5) Temporary Scripts Directory. . . . : []\n6) Replace $0 by File Name . (Y\/N). . : [Y]\n7) CJK Encoding . . . . . . . . . . . : []\n8) Default Printer. . . . . . . . . . : []\n9) SMTP Parameters\n\ns) Save\nq) Quit\n\nPlease enter your choice:\n\nby default the output is showing the command line ( -X parameter )\n\nSelect the 2 first choices and udpate them with N parameter\ndont forget to save you choice\n\nOS Configuration Utility\n\n1) Bourne Shell Flags . . . .(-x|-v|n): [-x]\n2) Korn Shell Flags . . . . .(-x|-v|n): [-x]\n3) Sysout Name. . .(MEMNAME|JOBNAME). : [MEMNAME]\n4) Temporary Scripts Saving (YES|NO) : [NO]\n5) Temporary Scripts Directory. . . . : []\n6) Replace $0 by File Name . (Y\/N). . : [Y]\n7) CJK Encoding . . . . . . . . . . . : []\n8) Default Printer. . . . . . . . . . : []\n9) SMTP Parameters\n\ns) Save\nq) Quit\n\nPlease enter your choice:1\n\nPlease enter the new value:n\n\nOS Configuration Utility\n\n1) Bourne Shell Flags . . . .(-x|-v|n): [n]\n2) Korn Shell Flags . . . . .(-x|-v|n): [-x]\n3) Sysout Name. . .(MEMNAME|JOBNAME). : [MEMNAME]\n4) Temporary Scripts Saving (YES|NO) : [NO]\n5) Temporary Scripts Directory. . . . : []\n6) Replace $0 by File Name . (Y\/N). . : [Y]\n7) CJK Encoding . . . . . . . . . . . : []\n8) Default Printer. . . . . . . . . . : []\n9) SMTP Parameters\n\ns) Save\nq) Quit\n\nPlease enter your choice:2\n\nPlease enter the new value:n\n\nOS Configuration Utility\n\n1) Bourne Shell Flags . . . .(-x|-v|n): [n]\n2) Korn Shell Flags . . . . .(-x|-v|n): [n]\n3) Sysout Name. . .(MEMNAME|JOBNAME). : [MEMNAME]\n4) Temporary Scripts Saving (YES|NO) : [NO]\n5) Temporary Scripts Directory. . . . : []\n6) Replace $0 by File Name . (Y\/N). . : [Y]\n7) CJK Encoding . . . . . . . . . . . : []\n8) Default Printer. . . . . . . . . . : []\n9) SMTP Parameters\n\ns) Save\nq) Quit\n\nPlease enter your choice:s\n\nSaving of configuration table OS succeed.<\/pre>\n<p>&nbsp;<\/p>\n<p>Once your configuration updated you can check on your jobs if outputs are still displaying the command line<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42592\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT2-1.png\" alt=\"\" width=\"1152\" height=\"603\" \/><\/a><br \/>\nNote: with ctmunixcfg utility you can also use -v option to get your outputs more verbose<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42577\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3-1.png\" alt=\"\" width=\"1154\" height=\"608\" \/><\/a><\/p>\n<h3>conclusion<\/h3>\n<p>now you know how to display\/remove the command line in your job&#8217;s output,feel free to check dbi&#8217;s blog to get more tips!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>introduction Hi everybody, Today we will check how to remove the display of the command line from your jobs outputs in some case it can be asked to only have the result of the script, for example when attaching it in mail sent to a customer. use the ctmunixcfg utility first step is to open [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":14552,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1256],"tags":[],"type_dbi":[],"class_list":["post-14548","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-m"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Control-M\/EM Remove command line from the job&#039;s output - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Control-M\/EM Remove command line from the job&#039;s output\" \/>\n<meta property=\"og:description\" content=\"introduction Hi everybody, Today we will check how to remove the display of the command line from your jobs outputs in some case it can be asked to only have the result of the script, for example when attaching it in mail sent to a customer. use the ctmunixcfg utility first step is to open [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-21T08:39:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1035\" \/>\n\t<meta property=\"og:image:height\" content=\"544\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"Control-M\/EM Remove command line from the job&#8217;s output\",\"datePublished\":\"2020-08-21T08:39:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/\"},\"wordCount\":136,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png\",\"articleSection\":[\"Control-M\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/\",\"name\":\"Control-M\/EM Remove command line from the job's output - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png\",\"datePublished\":\"2020-08-21T08:39:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png\",\"width\":1035,\"height\":544},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Control-M\/EM Remove command line from the job&#8217;s output\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Control-M\/EM Remove command line from the job's output - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/","og_locale":"en_US","og_type":"article","og_title":"Control-M\/EM Remove command line from the job's output","og_description":"introduction Hi everybody, Today we will check how to remove the display of the command line from your jobs outputs in some case it can be asked to only have the result of the script, for example when attaching it in mail sent to a customer. use the ctmunixcfg utility first step is to open [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/","og_site_name":"dbi Blog","article_published_time":"2020-08-21T08:39:02+00:00","og_image":[{"width":1035,"height":544,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png","type":"image\/png"}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"Control-M\/EM Remove command line from the job&#8217;s output","datePublished":"2020-08-21T08:39:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/"},"wordCount":136,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png","articleSection":["Control-M"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/","url":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/","name":"Control-M\/EM Remove command line from the job's output - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png","datePublished":"2020-08-21T08:39:02+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLOG-OUTPUT3.png","width":1035,"height":544},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/control-m-em-remove-command-line-from-the-jobs-ouput\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Control-M\/EM Remove command line from the job&#8217;s output"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=14548"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14548\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/14552"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=14548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=14548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=14548"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=14548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}