Roger,
Created @@NXMNT01     1st of Next Month System Formt
HelpSystems actually had the program, with undocumented new feature of "N" for next month.
RBT322                  Reserved Command Variable                   16:21:14
                                                                     PENCOR06
 Enter Reserved Command Variable Information:                                
   Reserved Variable  @@NXMNT01                                              
   Description        1st of Next Month System Formt                         
   Constant Value                                                            
      (Or)                                                                   
   Program to Call    RBT013                                                 
     Library . . . .    ROBOTLIB                                             
     Parameter . . .    MN001         
I was also pointed to their sample source code shipped with the product.
                               File  . . . . . .   RBTRSVSRC                                                  
  Library . . . .     ROBOTLIB             Position to  . . . . .              
                                                                               
Type options, press Enter.                                                     
 2=Edit         3=Copy  4=Delete 5=Display       6=Print     7=Rename          
 8=Display description  9=Save  13=Change text  14=Compile  15=Create module...
                                                                               
Opt  Member      Type        Text                                              
     RBTRSVSRC                                                                 
     RBT002      CLLE        Return Reserved Keyword Variables                 
     RBT013      CLLE        Calculate dates using rbt802 for reserve variables
     RBT014      CLLE        Calculate dates using Rbt801 for reserve variables
     RBT017      CLLE        Calculate dates using Rbt825 for reserve variables        
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Roger Harman
Sent: Tuesday, November 07, 2017 2:22 PM
To: Midrange Systems Technical Discussion
Subject: Re: Robot Replay / Schedule Reserved Command Variables - first of next month
You can define your own variables and specify a program to call to create them.
     
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
  
  
    
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>
Sent: Tuesday, November 7, 2017 10:20 AM
To: 'Midrange Systems Technical Discussion'
Subject: Robot Replay / Schedule Reserved Command Variables - first of next month
  
We have automated all our Daily, Weekly, Monthly interactive processes using Robot Replay and Schedule.
There are a few interactive screen options requiring the first of the next month.
I need to replace the date variable on the screen with the first of the next month.
I've only found reserved command variables for current month and previous month, nothing for next month.
Any thoughts from the group?
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: 
https://lists.midrange.com/mailman/listinfo/midrange-l
MIDRANGE-L Info Page
lists.midrange.com
Your email address: Your name (optional): You may enter a privacy password below. This provides only mild security, but should prevent others from messing ...
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:  
http://amzn.to/2dEadiD
    
As an Amazon Associate we earn from qualifying purchases.