Session:Date-Format as a Startup Parameter

Posted by jlacok on 30-Sep-2016 08:50

Hello

Relatively new to PDSOE and PASOE. Version 11.6.3.

Progress database default date format is MDY, we are using YMD. With Appbuilder we was (globally) setting the date-format with -d client startup parameter (within shortcut Startup Line).

What is the proper way to specify the -d within PDSOE?

- Is there some workspace parameter 'field' that should be used for this?

- Or it should be specified within (each) Database connection parameters?

- Or it has to be specified in the Constructor of Application 'main' Class with SESSION:DATE-FORMAT = 'ymd'?

What is the proper way to specify the -d within PASOE?

- Which parameter field should be used (unless answer on previous question is Class.

Thank you.

Posted by Matt Baker on 30-Sep-2016 13:28
 
PASOE is a little different from classic AppServer.  With classic AppServer the broker only supports one pool of agents, so the configuration link is at the “top” level for the AppServer.
 
 
PASOE supports multiple ABL applications.  Each one has its own set of agents, and own set of parameters for those agents. So the agent configuration is one level down compared to classic.
 
Steps:
 
Select your instance
Select (from the grid) the ABL application name link (normally same as instance name)
Select configuration
Field is named “Agent startup parameter”
 
 
 
Posted by Brian K. Maher on 30-Sep-2016 08:56
Under Run Configurations, go to your particular configuration (or create one) then go to the Culture tab, uncheck “Use defaults” and set the “Date format” field as needed.
 
 
Posted by Roy Ellis on 30-Sep-2016 13:34

Of course there is a way to set every progress client or agent to use the same -d setting.  

In your OpenEdge install directory you will find a startup.pf file.  Every OpenEdge client or agent references this file.  In it you will probably find the -d set to MDY.  Change it to -d YMD and everything run from this install will use that by default.

HTH, Roy

All Replies

Posted by Brian K. Maher on 30-Sep-2016 08:56
Under Run Configurations, go to your particular configuration (or create one) then go to the Culture tab, uncheck “Use defaults” and set the “Date format” field as needed.
 
 
Posted by jlacok on 30-Sep-2016 13:16

Thanks Brian. That is for PDSOE...

Where I can set it up for PASOE appserver (within OpenEdge Explorer)?

Posted by Brian K. Maher on 30-Sep-2016 13:22
In the same place you put any command line startup parameters for the agent (can’t research this right now, sorry)
Posted by Matt Baker on 30-Sep-2016 13:28
 
PASOE is a little different from classic AppServer.  With classic AppServer the broker only supports one pool of agents, so the configuration link is at the “top” level for the AppServer.
 
 
PASOE supports multiple ABL applications.  Each one has its own set of agents, and own set of parameters for those agents. So the agent configuration is one level down compared to classic.
 
Steps:
 
Select your instance
Select (from the grid) the ABL application name link (normally same as instance name)
Select configuration
Field is named “Agent startup parameter”
 
 
 
Posted by Roy Ellis on 30-Sep-2016 13:34

Of course there is a way to set every progress client or agent to use the same -d setting.  

In your OpenEdge install directory you will find a startup.pf file.  Every OpenEdge client or agent references this file.  In it you will probably find the -d set to MDY.  Change it to -d YMD and everything run from this install will use that by default.

HTH, Roy

Posted by jlacok on 30-Sep-2016 13:49

Great, Thanks all. Have a great weekend.

This thread is closed