{"id":3506,"date":"2019-02-12T16:09:18","date_gmt":"2019-02-12T16:09:18","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/19-variables-and-computations\/cre8_script\/"},"modified":"2026-02-12T12:46:08","modified_gmt":"2026-02-12T17:46:08","slug":"cre8_script","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/cre8_script\/","title":{"rendered":"cre8_script"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Generate a script file for CyFlex systems by processing an input file and replacing keywords with data from the cell_map file.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>cre8_script<\/strong> &lt;input_file&gt; [cyflex]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>input_file<\/p>\n<\/td>\n<td>\n<p>Specify the name of the input file containing the contents to generate the script file.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>cyflex<\/p>\n<\/td>\n<td>\n<p>Optional. Specify cyflex to gather hostname information. The default is CyFlex systems.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>cre8_script<\/strong> inpt_file.dat<br \/>\nThe above command gathers the cell and node numbers of all asset systems within the \/data\/cell_map file. The cell and node numbers are used to generate a script file containing data read from a file. The script file generated contains information from the inpt_file.dat file and an output file called inpt_file.dat.out will be generated.<\/p>\n<p><strong>cre8_script<\/strong> inpt_file.dat cyflex<br \/>\nThe above command gathers the hostnames of all cyflex systems within the \/data\/cell_map file. The hostnames are used to generate a script file containing data read from a file. The script file generated contains information from the inpt_file.dat file and an output file called inpt_file.dat.out will be generated.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Keywords $CELL, $NODE, and $HOST in the input file will be replaced with data from the cell_map file.<\/p>\n<p>The input file must be in the local directory. The output file will be created as &lt;input_file&gt;.out.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Generate a script file for CyFlex systems by processing an input file and replacing keywords with data from the cell_map file. Enter: cre8_script &lt;input_file&gt; [cyflex] Where: input_file Specify the name of the input file containing the contents to generate the script file. cyflex Optional. Specify cyflex to gather hostname information. The default is CyFlex [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1948,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3506","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3506"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3506\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1948"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}