Suggestion for improvement: Locking DSPF Source

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Suggestion for improvement: Locking DSPF Source

Post by dieter »

Hello,

in our development team we sometimes have the problem that 2 programmers change a display file parallel by using the Visual Designer. In the times of SEU this did not happen because SEU locked a sourcefile. Is there a possibility that Visual Designer also locks a file when it is loaded into the designer? If you don't want to create physical locks it would be helpful if visual designer could show a message that someone has loaded the source file.

Dieter
aj_400
New User
Posts: 8
Joined: Mon Oct 25, 2010 9:52 am
First Name: Andreas
Last Name: Strietholt
Company Name: Task Force IT-Consulting GmbH
Phone: +49 2309 609301
Address 1: Im Eickel 77
City: Waltrop
Zip / Postal Code: 45731
Country: Germany
Contact:

Re: Suggestion for improvement: Locking DSPF Source

Post by aj_400 »

Hi Dieter,

this and of course many more will be handled with an Change Management System like CMOne.
If someone still has checked out an object, it can't be changed from somebody else in general (only Emergency or Multiuser Checkout is also possible) . You will get the Information about who is using this object and on wich Project and Task this object is used.
You also have the integration of UI visual designer and the advantage of setting the correct *LIBL in the designer session. If you have an non converted DSPF and open the visual designer from the eclipse based CMOne plugin, you can also insert a convert theme. just try it :-)

Regards
Andreas
kevinh
Profound User
Posts: 43
Joined: Tue May 19, 2009 4:31 pm
First Name: Kevin
Last Name: Hunter
Company Name: Integrated Corporate Solutions
Phone: 2567608239
Address 1: 501 S Wood Ave
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Location: Florence Alabama
Contact:

Re: Suggestion for improvement: Locking DSPF Source

Post by kevinh »

dieter wrote:Hello,

in our development team we sometimes have the problem that 2 programmers change a display file parallel by using the Visual Designer. In the times of SEU this did not happen because SEU locked a sourcefile. Is there a possibility that Visual Designer also locks a file when it is loaded into the designer? If you don't want to create physical locks it would be helpful if visual designer could show a message that someone has loaded the source file.

Dieter
Our development team has the same issue. I know we would be interested in the PUI designer doing this without relying on additional change management software.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Suggestion for improvement: Locking DSPF Source

Post by Scott Klement »

Thanks for your feedback.

At this time, the Visual Designer does not require a server job to remain active on IBM i. Its "stateless", so the only time there's an active job to service it is when you click a button that submits control back to the server (like the 'open', 'save' or 'compile' buttons.) Since there's no persistent job running, it cannot hold a lock on a member.

Due to your request, we are discussing this in our development meetings. We could potentially re-write the designer to use a stateful job (much like the RPG programs that drive your rich display files) in order to accomplish this feature... we have not yet decided for certain if we will do this or not.

If there are any other customers (aside from ICS and Ecclesia, who we have already heard from, of course) that feel this would be an important feature, please let us know.
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Re: Suggestion for improvement: Locking DSPF Source

Post by dieter »

Scott,

i don't want to bring you to make risky changes in the Visual Designer. A few times it happened that two programmers parallel opened the same DSPF source. So some changes were lost. Now we are more sensitized for this problem and we try to prevent this problem by organizational arrangements.

If you are able to solve the problem with passable effort it would by great. But it is not a really significant problem for us in the moment. (Sorry Kevin!)

Dieter
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

Re: Suggestion for improvement: Locking DSPF Source

Post by esdaled »

I would not like to see this become the default behavior for the designer. If such an option is incorporated into a future release it should be configurable. Managing source and developer conflicts is what change management tools are for. Relying on source member locks to mange conflicts seems prone to errors.

We sometimes (but not very often) save the DSPF to a local file in order for us to work on the design offline. We also to use the local file to examine/modify the json for the design. Members locks would not be possible in this case.

Dave
slmcpherson
New User
Posts: 14
Joined: Tue Nov 26, 2013 11:12 am
First Name: sheri
Last Name: mcpherson
Company Name: winwholesale, inc.
Contact:

Re: Suggestion for improvement: Locking DSPF Source

Post by slmcpherson »

Scott Klement wrote:Thanks for your feedback.

At this time, the Visual Designer does not require a server job to remain active on IBM i. Its "stateless", so the only time there's an active job to service it is when you click a button that submits control back to the server (like the 'open', 'save' or 'compile' buttons.) Since there's no persistent job running, it cannot hold a lock on a member.

Due to your request, we are discussing this in our development meetings. We could potentially re-write the designer to use a stateful job (much like the RPG programs that drive your rich display files) in order to accomplish this feature... we have not yet decided for certain if we will do this or not.

If there are any other customers (aside from ICS and Ecclesia, who we have already heard from, of course) that feel this would be an important feature, please let us know.
I would vote for a stateful Visual Designer. It just makes sense to me to lock the object you have opened regardless of my change management control system.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Suggestion for improvement: Locking DSPF Source

Post by Scott Klement »

OKay, thanks Sheri. I'll bring this up again with the rest of the developers and see what (if anything) we can do.
SDeanD
Profound User
Posts: 28
Joined: Thu Dec 12, 2013 11:34 pm
First Name: Dean
Last Name: ****
Company Name: RESD LLC
Phone: 812244-0647
Address 1: 1620 S 7th
City: Terre Haute
State / Province: Indiana
Zip / Postal Code: 47802
Country: United States
Contact:

Re: Suggestion for improvement: Locking DSPF Source

Post by SDeanD »

I vote to lock the file.

Or checkout a file.
S Dean ****
CEO
R & E Software Design LLC.
IBM Business Partner since 1988
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests