Solved

Logical Files and UAT deployments

Posted on 2012-03-22
3
338 Views
Last Modified: 2012-06-27
Hi All,

We have a so called "staging" AS400 server which gets periodically backed up with data from production. This server is used for various business purposes including preparing for UAT deployments. Before a UAT deployment, these are the steps that we perform on this server:

1) Create duplicates for all source, objects and data files (not database tables).
2) For purposes of security, we scramble and subset the data in the files.
3) All this is then put into a save file and pushed out to the respective UAT servers.
4) A remote restore save file command is issued on the staging server which deploys the code on the UAT server.

The problem i am facing is in step# 2 above. An elaboration of step# 2 is as follows:

1) After a duplicate of production data files are created, I delete all LF's that exist on the PF's.
2) Remove all members from all PF's.
3) Based on our business needs, I add back a version (or not) with specific member names.
4) Scramble and subset that single member if needed.
5) Add back all the LF's that were earlier deleted.

All the above steps work fine except that some of the LF's that we have in our libraries are based on 1-2 tables in a schema. Ideally, when I am re-creating the LF, I want the LF to be recreated using the schema name that I am going to use on the UAT server. Most of the times, we do not have that schema name present on the "staging" server. I either end up not creating that LF or if it creates, it is pointed to one of the schema names that exist on staging.

Is there any work-around?

My restrictions are:

1) I have to run all these steps on the "staging" server.
2) We have multiple UAT regions, so it is not feasible to have a program deployed on all UAT servers to take care of this problem with the LF.
3) I want to avoid hard coding of any kind because this program would be used across applications.

The version of OS we are currently on is V5R4 (with plans to migrate to V7R1 this summer).

Regards
Ali.
0
Comment
Question by:bhagatali
  • 2
3 Comments
 
LVL 16

Expert Comment

by:theo kouwenhoven
ID: 37756362
Hi bhagatali,

Not totaly clear to me, why are you deleting the logicals, if you need to re-build them anyway ?

Regards,
murph
0
 

Author Comment

by:bhagatali
ID: 37756835
Hi Murph,

There are 2 reasons:

1) In a subsequent step I remove all versions of physical files that I copied from production so that I could create a blank version of the PF.
2) The LF's that I copied from production are pointing to PF's in the production library. I need to recreate them pointing to the UAT libraries.

Regards
Ali
0
 
LVL 16

Accepted Solution

by:
theo kouwenhoven earned 500 total points
ID: 37756937
Hi Ali,

1) By clearing all PF members, you don't need to rebuild any file.

2) I do my very best to get your situation, copy files from Lib1 to Lib2, but LF's are pointing to the right PF's after coppying.
I even tried to add Lib1 to my LIBL and copy the LF first, but that is not possible if the PF is not in the target library. You only can do that during creation by defining the PF, otherwise copy will point to the right file.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now