{"id":686,"date":"2019-06-18T09:42:52","date_gmt":"2019-06-18T16:42:52","guid":{"rendered":"https:\/\/portal.staylinked.com\/sl\/kb\/?post_type=ht_kb&#038;p=686"},"modified":"2021-08-31T15:21:21","modified_gmt":"2021-08-31T22:21:21","slug":"as-400-iseries-auto-start","status":"publish","type":"ht_kb","link":"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/as-400-iseries-auto-start\/","title":{"rendered":"AS\/400 iSeries Auto Start"},"content":{"rendered":"\n<p>In order to get StayLinked to start, you\u2019ll need to add the following lines to the CL source of QSTRUP&nbsp;<\/p>\n\n\n\n<p><code>0079.00 &nbsp; &nbsp; &nbsp;STAYLINKED\/STRSERVER \/* Start the Stay-Linked server and subsystem *\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 080310<br>0080.00 &nbsp; &nbsp; &nbsp;MONMSG &nbsp; &nbsp; MSGID(CPF0000) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 080310&nbsp;<\/code><\/p>\n\n\n\n<p>If you have never modified the startup program, you won\u2019t have source for it, and you\u2019ll need to get the source by running the following command:&nbsp;<\/p>\n\n\n\n<p><code>RTVCLSRC PGM(QSYS\/QSTRUP) SRCFILE(QGPL\/QCLSRC) SRCMBR(QSTRUP)&nbsp;<\/code><\/p>\n\n\n\n<p>This will put the source for QSTRUP into the CL source file in QGPL (as long as that source file exits). \u00a0From there you can modify the program and compile it.\u00a0<\/p>\n\n\n\n<p>It is our recommendation that you leave the original program in QSYS and compile into QGPL. &nbsp;This would require changing the Sysval QSTRUPPGM to explicitly call to QSTRUP in QGPL.<\/p>\n\n\n\n<p>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to get StayLinked to start, you\u2019ll need to add the following lines to the CL source of QSTRUP&nbsp; 0079.00 &nbsp; &nbsp; &nbsp;STAYLINKED\/STRSERVER \/* Start the Stay-Linked server and subsystem *\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0803100080.00 &nbsp; &nbsp; &nbsp;MONMSG &nbsp; &nbsp; MSGID(CPF0000) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8230;<\/p>\n","protected":false},"author":5,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[38],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AS\/400 iSeries Auto Start &ndash; StayLinked<\/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.staylinked.com\/knowledge-base\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AS\/400 iSeries Auto Start &ndash; StayLinked\" \/>\n<meta property=\"og:description\" content=\"In order to get StayLinked to start, you\u2019ll need to add the following lines to the CL source of QSTRUP&nbsp; 0079.00 &nbsp; &nbsp; &nbsp;STAYLINKED\/STRSERVER \/* Start the Stay-Linked server and subsystem *\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0803100080.00 &nbsp; &nbsp; &nbsp;MONMSG &nbsp; &nbsp; MSGID(CPF0000) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/as-400-iseries-auto-start\/\" \/>\n<meta property=\"og:site_name\" content=\"StayLinked\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-31T22:21:21+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/#website\",\"url\":\"https:\/\/portal.staylinked.com\/sl\/kb\/\",\"name\":\"StayLinked Knowledge Base\",\"description\":\"Partner Portal Resources and Support\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/portal.staylinked.com\/sl\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/as-400-iseries-auto-start\/#webpage\",\"url\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/as-400-iseries-auto-start\/\",\"name\":\"AS\/400 iSeries Auto Start &ndash; StayLinked\",\"isPartOf\":{\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/#website\"},\"datePublished\":\"2019-06-18T16:42:52+00:00\",\"dateModified\":\"2021-08-31T22:21:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/as-400-iseries-auto-start\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/as-400-iseries-auto-start\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/as-400-iseries-auto-start\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/portal.staylinked.com\/sl\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/portal.staylinked.com\/sl\/kb\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AS\/400 iSeries Auto Start\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb\/686"}],"collection":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/comments?post=686"}],"version-history":[{"count":1,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb\/686\/revisions"}],"predecessor-version":[{"id":3695,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb\/686\/revisions\/3695"}],"wp:attachment":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/media?parent=686"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=686"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}