{"id":358,"date":"2009-07-02T18:33:14","date_gmt":"2009-07-02T16:33:14","guid":{"rendered":"http:\/\/www.netexpertise.eu\/en\/?p=358"},"modified":"2021-10-06T22:37:29","modified_gmt":"2021-10-06T20:37:29","slug":"modify-qstrup-startup-program","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html","title":{"rendered":"How to Change AS400 QSTRUP Startup Program"},"content":{"rendered":"\n<p><a href=\"\/en\/tag\/ibm-i\">IBM i<\/a> \/ AS400 QSTRUP is the CL program loaded when the system boots and it may be useful to change it. You may want to add the MKDIR command line for instance to have a permanent share mounted.<br>I&#8217;m saying program as QSTRUP is a compiled program, rather than a simple text file.<br>&nbsp;<br>You can get the QSTRUP name and library from the QSTRUPPGM system value:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">DSPSYSVAL QSTRUPPGM<\/code><\/pre>\n\n\n\n<p>The result is QGPL\/QSTRUP in my case, which is the default.<br>&nbsp;<br>If you don&#8217;t have the source code, You can extract it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">RTVCLSRC QGPL\/QSTRUP mylib\/QCLSRC<\/code><\/pre>\n\n\n\n<p>Replace mylib with QGPL as most people store it there, but make a copy of your current source file first<br>&nbsp;<br>To edit the source code, launch the development manager:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">STRPDM<\/code><\/pre>\n\n\n\n<p>Enter option 3: Members management, file QCLSRC and library QGPL<br>Enter option 2: EDIT<br>Go on with the changes and save<br>Option 14: COMPILE<br>&nbsp;<br>The new compiled QSTRUP program will run from now on at the next <a href=\"https:\/\/www.ibm.com\/docs\/en\/i\/7.4?topic=installed-performing-initial-program-load-ipl\">IPL<\/a> (initial program load or boot in other systems).<br>&nbsp;<br>You can also process startup logs to check what is going on after you changed the QSTRUP program.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IBM i \/ AS400 QSTRUP is the CL program loaded when the system boots and it may be useful to change it. You may want to add the MKDIR command line for instance to have a permanent share mounted.I&#8217;m saying program as QSTRUP is a compiled program, rather than a simple text file.&nbsp;You can get [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[210],"tags":[396,405,230,236],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - How to Change AS400 QSTRUP Startup Program<\/title>\n<meta name=\"description\" content=\"What is QSTRUP? Modify and compile IBM i QSTRUP startup program launched at AS400 boot \/ IPL\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - How to Change AS400 QSTRUP Startup Program\" \/>\n<meta property=\"og:description\" content=\"What is QSTRUP? Modify and compile IBM i QSTRUP startup program launched at AS400 boot \/ IPL\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2009-07-02T16:33:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-06T20:37:29+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html\",\"name\":\"Netexpertise - How to Change AS400 QSTRUP Startup Program\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2009-07-02T16:33:14+00:00\",\"dateModified\":\"2021-10-06T20:37:29+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"description\":\"What is QSTRUP? Modify and compile IBM i QSTRUP startup program launched at AS400 boot \/ IPL\",\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change AS400 QSTRUP Startup Program\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - How to Change AS400 QSTRUP Startup Program","description":"What is QSTRUP? Modify and compile IBM i QSTRUP startup program launched at AS400 boot \/ IPL","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":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - How to Change AS400 QSTRUP Startup Program","og_description":"What is QSTRUP? Modify and compile IBM i QSTRUP startup program launched at AS400 boot \/ IPL","og_url":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html","og_site_name":"Netexpertise","article_published_time":"2009-07-02T16:33:14+00:00","article_modified_time":"2021-10-06T20:37:29+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html","url":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html","name":"Netexpertise - How to Change AS400 QSTRUP Startup Program","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2009-07-02T16:33:14+00:00","dateModified":"2021-10-06T20:37:29+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"description":"What is QSTRUP? Modify and compile IBM i QSTRUP startup program launched at AS400 boot \/ IPL","breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/modify-qstrup-startup-program.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"How to Change AS400 QSTRUP Startup Program"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/en\/#website","url":"http:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/358"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}