Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to get a file for testing from production to test region

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Testing & Performance analysis
View previous topic :: :: View next topic  
Author Message
bob

New User


Joined: 23 Sep 2006
Posts: 1

PostPosted: Wed Oct 04, 2006 4:35 pm    Post subject: How to get a file for testing from production to test region
Reply with quote

how to get a file for testing from production to test region
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Wed Oct 04, 2006 6:49 pm    Post subject:
Reply with quote

Hi Bob,

U can xmit ur file from prod to test region.
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed Oct 04, 2006 7:40 pm    Post subject:
Reply with quote

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
View user's profile Send private message
srinivasulureddy

New User


Joined: 25 Jan 2007
Posts: 1
Location: chennai

PostPosted: Mon Jan 29, 2007 2:22 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gundluru_sreedevi

New User


Joined: 24 Jan 2007
Posts: 1
Location: Mumbai

PostPosted: Mon Jan 29, 2007 7:02 pm    Post subject: Hi
Reply with quote

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
View user's profile Send private message
vin12pr
Warnings : 1

New User


Joined: 14 Jun 2006
Posts: 56

PostPosted: Mon Jan 29, 2007 7:18 pm    Post subject: Re: How to get a file for testing from production to test re
Reply with quote

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
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Sat Feb 03, 2007 8:16 pm    Post subject: Re: How to get a file for testing from production to test re
Reply with quote

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
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Mon Feb 05, 2007 12:11 pm    Post subject: Re: How to get a file for testing from production to test re
Reply with quote

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
View user's profile Send private message
sasidhar001
Warnings : 1

New User


Joined: 14 May 2006
Posts: 3
Location: Bangalore

PostPosted: Fri Sep 21, 2007 5:20 pm    Post subject: Reply to: How to get a file for testing from production to t
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Sep 21, 2007 6:23 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Sep 21, 2007 7:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Sep 26, 2007 3:52 pm    Post subject:
Reply with quote

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
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Wed Sep 26, 2007 4:00 pm    Post subject:
Reply with quote

fwiw, the question was posted on Wed Oct 04, 2006 4:05 pm, and this is the only post from bob. icon_question.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 26, 2007 7:15 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Sep 27, 2007 2:23 pm    Post subject:
Reply with quote

Thanks Dick. icon_smile.gif

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. icon_mad.gif
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Dec 31, 2007 10:14 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jan 02, 2008 11:57 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Testing & Performance analysis All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us