View previous topic :: View next topic
|
Author |
Message |
bob
New User
Joined: 23 Sep 2006 Posts: 1
|
|
|
|
how to get a file for testing from production to test region |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Bob,
U can xmit ur file from prod to test region. |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
if u have read access to the file then submit a SORT job...use SORT = COPY or go to file aid option 3 and then 3 ...copy dataset...give prod file name as from and test file to file...and get it copied..if u need sort Job for copying then either u can search or u can write back... |
|
Back to top |
|
|
srinivasulureddy
New User
Joined: 25 Jan 2007 Posts: 1 Location: chennai
|
|
|
|
Hi Bob,
you can NDM ur file from prod to test region.you have to give sending node as production region and the recieving node as testing region |
|
Back to top |
|
|
gundluru_sreedevi
New User
Joined: 24 Jan 2007 Posts: 1 Location: Mumbai
|
|
|
|
By using File-Aid option 3.3 you can copy file data from Production to testing. Or you can use sort=copy command |
|
Back to top |
|
|
vin12pr Warnings : 1 New User
Joined: 14 Jun 2006 Posts: 56
|
|
|
|
Sometimes the production region and the test regions will be different.In those situations you can do a Ftp of the file so that you can use the copy of the production data in the test. |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi Bob,
You have two options to do that,
1) Make use of FTP to transfer your Prod file to Test file
2) Make use of NDM to transfer your files.
Please let us know if you need any other information. |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi Bob,
Here's the code that will send the file to Test from Production region.
1) Using FTP
Code: |
//*Your JOBCARD
//*
//* GOES FROM PRODUCTION TO TEST
//*
//STEP1 EXEC PGM=FTP,PARM='(EXIT TIMEOUT 60'
//INPUT DD *
your nodename
your username(TSOID)
your TSO pwd
BLOCK
TYPE E
GET 'production filename' 'test filename'
QUIT
/*
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//ABENDAID DD SYSOUT=*
//SYSUDUMP DD SYSOUT=* |
2) Using NDM
Steps to transfer the file using NDM are listed below.
In Test region, type TSO @NDM
In the NDM user panel, type your TSO ID
You will be directed to NDM PRIMARY OPTIONS menu.
Choose option 'CF' from the menu.
In the next screen specify the SENDING NODE and RECEIVING NODE. Our requirement is sending files to Test from Production. So you need to specify sending node as 'your shop prod node name' and receiving node as 'your shop test node name'.
In the next screen specify the production file name
In the next screen specify the test file name
Hit ENTER it wil submit the process and a process number will be generated for the request.
Go to NDM primary menu and choose the option 'SS' to view the status of your submitted request.
Please let us know if you are able to transfer the files successfully. |
|
Back to top |
|
|
sasidhar001 Warnings : 1 New User
Joined: 14 May 2006 Posts: 3 Location: Bangalore
|
|
|
|
Quote: |
Hi,
It is pretty simple as long as it is a non-vsam file....
just browse the production data set, put the cursor in front of the dataset, then press enter..then select option 17 and provide the target data set details....like HLQ, LLQ, ..etc. the data will be copied..... |
For VSAM files, use fileaid or Insync.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Perhaps you got your answer, still would like to add the following:
1. For production datasets, you need to get a proper access to the DSN you need to use in you testing. Get in touch with some senior at your site to know the exiting process available.
2. As suggested, if your testing is in some other LPAR (Testfing Region) FTP, XCOM, or NDM are some of the available methods to trasfer your test file. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Before transferring the file via one method or another, i'd suggest checking if there is some shared dasd (accessable to both systems) and simply write the data on the shared dasd. If this is possible, the data need be written only once.
If there is no shared dasd or you are not allowed to use it, then the transfer methods are necessary. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
dick scherrer wrote: |
If there is no shared dasd or you are not allowed to use it, then the transfer methods are necessary. |
Hey Dick,
I was not aware of this option, how do we check for such an DASD ? Please advise. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
fwiw, the question was posted on Wed Oct 04, 2006 4:05 pm, and this is the only post from bob. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
The easiest way is to talk with your storage admin people.
Some places have a "dasd map" that shows which dasd is on which lpar and which is shared, but with the amount of dasd in many places, it is not feasible any more. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Thanks Dick.
Quote: |
fwiw, the question was posted on Wed Oct 04, 2006 4:05 pm, and this is the only post from bob. |
yeah right..I didn't check it. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Quote: |
fwiw, the question was posted on Wed Oct 04, 2006 4:05 pm.... |
These threads are not only of interest to the Originating Poster and they also become "historical documents" via SEARCH, so adding info to the thread at any time makes sense. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
mmwife wrote: |
These threads are not only of interest to the Originating Poster and they also become "historical documents" via SEARCH, so adding info to the thread at any time makes sense. |
Do Agree. |
|
Back to top |
|
|
|