IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> Testing & Performance
Post new topic   Reply to topic
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
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: 1208
Location: Bangalore,India

PostPosted: Wed Oct 04, 2006 6:49 pm
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
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
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
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
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: 411
Location: Colarado, US

PostPosted: Sat Feb 03, 2007 8:16 pm
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: 411
Location: Colarado, US

PostPosted: Mon Feb 05, 2007 12:11 pm
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
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

Superior Member


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

PostPosted: Fri Sep 21, 2007 6:23 pm
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

Moderator Emeritus


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

PostPosted: Fri Sep 21, 2007 7:21 pm
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

Superior Member


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

PostPosted: Wed Sep 26, 2007 3:52 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 26, 2007 7:15 pm
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

Superior Member


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

PostPosted: Thu Sep 27, 2007 2:23 pm
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
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

Superior Member


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

PostPosted: Wed Jan 02, 2008 11:57 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Testing & Performance

 


Similar Topics
Topic Forum Replies
No new posts Unable to interpret a hex value to De... COBOL Programming 4
No new posts How to Login in to cics region and is... CICS 9
No new posts how to eliminate null indicator value... DB2 7
No new posts Format Binary file to EBCDIC JCL & VSAM 4
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
Search our Forums:

Back to Top