×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Check out the MAIN() Control Spec. That should be what you need.
HTH
-----Original Message-----
From: Gad Miron [mailto:gadmiron@xxxxxxxxx]
Sent: Tuesday, September 03, 2019 6:10 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: tiny free format program with parametes and without cycle
Hello Guys
I need to create a callable PGM that accept a date parameter (YYYYMMDD) and returns a DayOfWeek parameter
I've created a free format PGM alright (with Pr and PI) but I'm stymied with making a no-Cycle version.
I've read that using a clt- option *NOMAIN is for a Module only.
Is it possible to write such a (no cycle) program and compile it with CRTBNDRPG in one pass Or do I have to resort to CRTRPGMOD + CRTPGM ?
TIA
Gad
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.