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
 

 

FTP the datasets by keeping the original date and timestamp

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: FTP the datasets by keeping the original date and timestamp
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: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 22, 2009 1:45 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Tue Sep 22, 2009 1:48 pm    Post subject: Reply to: FTP the datasets by keeping the original date and
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 24, 2009 6:54 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts Checking Current date vickey_dw DFSORT/ICETOOL 1 Wed Feb 08, 2017 11:14 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm


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