Solved

Logical Files and UAT deployments

Posted on 2012-03-22
3
353 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
This article was originally published on Monitis Blog, you can check it  here .   Some years back, I worked as the CTO.  During my tenure, I had a head of IT support reporting to me.  He did his job quite well and had a commendable sense of duty…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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