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

FTP the datasets by keeping the original date and timestamp


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sathish1760

New User


Joined: 02 May 2008
Posts: 42
Location: chennai

PostPosted: Tue Sep 22, 2009 1:38 pm
Reply with quote

Hi all,

I need to FTP datasets from one LPAR(LPAR-1) to another LPAR(LPAR-2) in mainframes. I have run the jcl for the same and it is working fine. But the original date and time stamp of the datasets are not coming in LPAR-2.

Is it possible to get the original date and timestamp for the FTP'ed datasets?

Thanks,
Sathish
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 22, 2009 1:45 pm
Reply with quote

What do you mean, are these in the dataset name, is the FTP process changing the internal data or what ?

Please explain what is acrtually happening
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Sep 22, 2009 1:48 pm
Reply with quote

Quote:
Is it possible to get the original date and timestamp for the FTP'ed datasets?
NO ...
CATALOG,VTOC, ... add as many issues as You want
among other things it would mess up all the storage managent processes
Back to top
View user's profile Send private message
sathish1760

New User


Joined: 02 May 2008
Posts: 42
Location: chennai

PostPosted: Tue Sep 22, 2009 2:47 pm
Reply with quote

Thank you all for your replies.

Expat,

I dont mean the internal data. The details that are displayed inside the PDS.This includes Created date and the changed date,timestap and other PDS attributesthat are displayed aside of the members.
Back to top
View user's profile Send private message
santosh100678

New User


Joined: 21 Sep 2009
Posts: 55
Location: Kolkatta

PostPosted: Thu Sep 24, 2009 6:44 pm
Reply with quote

Hi sathish,

Its depend upon you mainframe sytem ,
You can write a program where you accept date and time from sytem

Then iclude that program in your jcl icluding below para

-dd1 DD DSN=Controlcard librarry(SAU500L),
/ DISP=SHR
/ddout DD DSN=MTPLD01.FTP.CARD,
/ DISP=(,CATLG,DELETE),UNIT=(,
/ SPACE=(CYL,(1,1),RLSE),
/ DCB=LRECL=80
member conatis(SAU500L)


CD FOLDER
TYPE A
ASCII
PUT 'MTPLD01.DEsired.NOTE.File' DX?DMY?.TXT
QUIT

If you required other then mail me deired ouput
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Sep 24, 2009 6:54 pm
Reply with quote

santosh100678

Do you really understand what the OP is trying to do here. I think not. He wants to retain the original ISPF statistics from the sending PDS on a different LPAR.

Please refrain from answering questions that you are clearly not understanding.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts To get the count of rows for every 1 ... DB2 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
Search our Forums:

Back to Top