Referring a test data to production Job.

All sort of Mainframes Interview Questions.
Post Reply
Niketan Singh
New Member
Posts: 2
Joined: Mon Jul 28, 2014 11:34 pm

Referring a test data to production Job.

Post by Niketan Singh »

We have 1 million records in a file. One of the records has bad data. To solve the abend because of this bad record, I've brought the file with all the records to my test environment. Once the file is successfully transferred, I delete that bad data record. Now can I refer this updated file to job running in the production environment?

I want to know whether we can override data of production environment with data of test environment, as described above. I did not know the answer so I am asking here. If someone an help.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Referring a test data to production Job.

Post by zprogrammer »

Overriding the data in Production should be achievable.
zprogrammer
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Referring a test data to production Job.

Post by nicc »

Is this REALLY an Interview Question?
Regards
Nic
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Referring a test data to production Job.

Post by Anuj Dhawan »

PS.: Sounds like the interviewer had a problem in hand and put forward it as an interview question. Perhaps from someone like who is juggling to know - love what you do or do what you love! :roll:

To original question - you can do it but much depend on the site policies.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: Referring a test data to production Job.

Post by William Collins »

The issue will be the security authorisation. In general, if things are set up well, then No. But it all depends on how a site is set up.

If you can copy the data to your test environment, that is wrong. That should require authorisation, and someone to do that for you, the same on the way back (to a dataset-name that suits Production).

If you are a specific Support person, some of those things will be different than if you are a Developer.

The only answer that can be given in general is No, you can't mess about with Production data yourself. Which means you can't be the one to forget to back it up, you can't be the one to accidentally erase the data before it is backed-up, accidentally change all the records instead of one, etc.

Oh, and you can't do it deliberately either, at least not without others knowing, and having convinced those people of why you need access to the data.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Referring a test data to production Job.

Post by enrico-sorichetti »

even if can be done from a technical point of view
it is a bad practice ...

run the fixup process in the production environment.
naturally with the appropriate audit trail
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Akatsukami
Global Moderator
Global Moderator
Posts: 122
Joined: Tue Oct 20, 2015 3:20 am
Location: Bloomington, IL
Contact:

Re: Referring a test data to production Job.

Post by Akatsukami »

I'll take a stance combining that of Mr. Collins and that of Dr. Sorichetti.

You should not be able to merely copy data sets from production to test; you should be able to do so only with the proper tools to provide for proper masking of the data. The fix-up should be developed in the test environment, but be executed in the production environment; you should never be able to copy data from test to production[sup]1[/sup]. And, of course, the fix must be developed by a competent analyst, not a fresher who lied about knowing Rexx.

[sup]1[/sup]I concede that in a von Neumann architecture the line between "data" and "program" can get a little fuzzy; nonetheless, in the real world that line is clear enough.
"I come to the conclusion that, men loving according to their own will and fearing according to that of the prince, a wise prince should establish himself on that which is in his own control and not in that of others." -- Niccolò Machiavelli
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”