Re: [CMS-PIPELINES] Move files and preserve timestamps
With my enhanced EXECUTE (part of my FILELIST package on the VM download lib) one can enter /s in commands DMSPLY / mm//dd//yyy hh:mm:ss Just double the / character. But indeed, with ISODATE no such problem, and guess what, my FIXDATE accepts ISODATE as input. FIXDATE will also complete the missing leading 0 in both time and date. http://www.vm.ibm.com/download/packages/descript.cgi?FIXDATE http://www.vm.ibm.com/download/packages/descript.cgi?FILELIST 2009/10/23 Schuh, Richard > Ah, but there are ISODATE and FULLDATE options in both FILELIST and > LISTFILE. IBM has provided for one of your gripes. All you have to do is > supply the leading 0 for the month and hour. That is easy enough in a > program, e.g. "dt = right('0' || dt,10)". The same applies to the time > value, except that the length is 8. > > True, you do have a problem typing a fulldate on the line in FILELIST. That > can be easily fixed in EXECUTE by converting the hard-coded '/' references > to use a variable and provide a way of setting it (I used GLOBALV, creating > a variable to manipulate in DEFAULTS will also work). It is only a very few > lines of code. I have done it as an experiment and it works nicely. With it > in place you can enter a command like this > > DMSPLU ! mm/dd/ hh:mm:ss > > on the filelist line simply by first setting the GLOBALV variable to !. > Since this is EXECUTE XEDIT, the change applies to all of the functions that > use it. > > Regards, > Richard Schuh > > > > > -Original Message- > > From: CMSTSO Pipelines Discussion List > > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Glenn Knickerbocker > > Sent: Thursday, October 22, 2009 4:54 PM > > To: CMS-PIPELINES@VM.MARIST.EDU > > Subject: Re: Move files and preserve timestamps > > > > "Schuh, Richard" wrote: > > > What is unmanageable about "'DMSPLU' fn ft fm dt tm"? Of course the > > > date and time must be properly formatted, > > > > That's exactly it. DMSPLU accepts only FULLDATE format--but > > with the leading zeroes filled in. On FILELIST file lines, > > it's impossible to enter because of the slashes. In commands > > built from LISTFILE responses, the leading zeroes are missing. > > > > (And of course the new FIXDATE was designed as a drop-in > > replacement for the old one, which didn't have the same > > syntax as DMSPLU.) > > > > ¬R > > > -- Kris Buelens, IBM Belgium, VM customer support
Re: [CMS-PIPELINES] Move files and preserve timestamps
Ah, but there are ISODATE and FULLDATE options in both FILELIST and LISTFILE. IBM has provided for one of your gripes. All you have to do is supply the leading 0 for the month and hour. That is easy enough in a program, e.g. "dt = right('0' || dt,10)". The same applies to the time value, except that the length is 8. True, you do have a problem typing a fulldate on the line in FILELIST. That can be easily fixed in EXECUTE by converting the hard-coded '/' references to use a variable and provide a way of setting it (I used GLOBALV, creating a variable to manipulate in DEFAULTS will also work). It is only a very few lines of code. I have done it as an experiment and it works nicely. With it in place you can enter a command like this DMSPLU ! mm/dd/ hh:mm:ss on the filelist line simply by first setting the GLOBALV variable to !. Since this is EXECUTE XEDIT, the change applies to all of the functions that use it. Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Glenn Knickerbocker > Sent: Thursday, October 22, 2009 4:54 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Re: Move files and preserve timestamps > > "Schuh, Richard" wrote: > > What is unmanageable about "'DMSPLU' fn ft fm dt tm"? Of course the > > date and time must be properly formatted, > > That's exactly it. DMSPLU accepts only FULLDATE format--but > with the leading zeroes filled in. On FILELIST file lines, > it's impossible to enter because of the slashes. In commands > built from LISTFILE responses, the leading zeroes are missing. > > (And of course the new FIXDATE was designed as a drop-in > replacement for the old one, which didn't have the same > syntax as DMSPLU.) > > ¬R >
Re: [CMS-PIPELINES] Move files and preserve timestamps
No, I did not write FIXDATE to be compatible with IBM's IUO tool, it was always meant to be a front-end for DMSPLU. Advanges - an error message iso RC 24 for an invalid date/time - more freedom in date & time formats - It avoids the CMS abend for DMSPLU against a fle on a R/O disk 2009/10/23 Glenn Knickerbocker > "Schuh, Richard" wrote: > > What is unmanageable about "'DMSPLU' fn ft fm dt tm"? Of course the > > date and time must be properly formatted, > > That's exactly it. DMSPLU accepts only FULLDATE format--but with the > leading zeroes filled in. On FILELIST file lines, it's impossible to > enter because of the slashes. In commands built from LISTFILE > responses, the leading zeroes are missing. > > (And of course the new FIXDATE was designed as a drop-in replacement for > the old one, which didn't have the same syntax as DMSPLU.) > > ¬R > -- Kris Buelens, IBM Belgium, VM customer support
Re: [CMS-PIPELINES] Move files and preserve timestamps
I wrote some mods to SETDATE to support LISTFILE's date format, as well as backslashes or exclamation marks for date separators so it works from FILELIST. Perhaps even other date formats (don't recall from the car). I should send them to the SETDATE author. Mike Walter Hewitt Associates (Sent from the wee keyboard on a Blackberry.) - Original Message - From: "Glenn Knickerbocker" [n...@bestweb.net] Sent: 10/22/2009 07:53 PM AST To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: Move files and preserve timestamps "Schuh, Richard" wrote: > What is unmanageable about "'DMSPLU' fn ft fm dt tm"? Of course the > date and time must be properly formatted, That's exactly it. DMSPLU accepts only FULLDATE format--but with the leading zeroes filled in. On FILELIST file lines, it's impossible to enter because of the slashes. In commands built from LISTFILE responses, the leading zeroes are missing. (And of course the new FIXDATE was designed as a drop-in replacement for the old one, which didn't have the same syntax as DMSPLU.) ¬R The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: [CMS-PIPELINES] Move files and preserve timestamps
"Schuh, Richard" wrote: > What is unmanageable about "'DMSPLU' fn ft fm dt tm"? Of course the > date and time must be properly formatted, That's exactly it. DMSPLU accepts only FULLDATE format--but with the leading zeroes filled in. On FILELIST file lines, it's impossible to enter because of the slashes. In commands built from LISTFILE responses, the leading zeroes are missing. (And of course the new FIXDATE was designed as a drop-in replacement for the old one, which didn't have the same syntax as DMSPLU.) ¬R
Re: [CMS-PIPELINES] Move files and preserve timestamps
What is unmanageable about "'DMSPLU' fn ft fm dt tm"? Of course the date and time must be properly formatted, but that isn't too onerous a task. However, it is one that my frontend for DMSPLU tackles for me. I like omitting leading zeros when I enter things from my terminal; the fewer characters I have to type, the better. Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Glenn Knickerbocker > Sent: Thursday, October 22, 2009 1:45 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Re: Move files and preserve timestamps > > Paul Gilmartin wrote: > > Any better ideas? > > http://www.vm.ibm.com/download/packages/descript.cgi?FIXDATE > > FIXDATE was the name of an older IBM-internal tool for the > function that DMSPLU now servers. Now it's a front-end to > DMSPLU with more manageable syntax. > > ¬R >
Re: [CMS-PIPELINES] Move files and preserve timestamps
Paul Gilmartin wrote: > But why bother? Since the PUNCH stage has the devaddr option, > it would be minimally disruptive to CP DEFINE a brand new > punch, use that, and CP DETACH it when done. That would take rewriting the whole of SENDFILE. Pipelines is just used in the "new" code added for the SMTP options. Regular old local and RSCS transmissions still use vanilla NETDATA, PUNCH, and DISK DUMP. ¬R
Re: [CMS-PIPELINES] Move files and preserve timestamps
Paul Gilmartin wrote: > Any better ideas? http://www.vm.ibm.com/download/packages/descript.cgi?FIXDATE FIXDATE was the name of an older IBM-internal tool for the function that DMSPLU now servers. Now it's a front-end to DMSPLU with more manageable syntax. ¬R
Re: [CMS-PIPELINES] Move files and preserve timestamps
Interesting. Nice ... -- bc On Thu, Oct 22, 2009 at 9:19 AM, Paul Gilmartin wrote: > On Oct 21, 2009, at 19:47, Bob Cronin wrote: > > To my knowledge, INMR123 is a PIPE sample/example filter, I don't >> think it >> is used by SENDFILE, but I admit I haven't looked at the SENDFILE >> logic in 8 >> or 10 years (back when I wrote my *LIST-aware version, SENDLIST), so I >> >> I see: > > * * * Top of File * * * > /*/ > /* */ > /* Copyright - */ > /* */ > /*THIS MODULE IS "RESTRICTED MATERIALS OF IBM" */ > /*5741-A05 (C) COPYRIGHT IBM CORP. - 1982, 2005 */ > /*LICENSED MATERIALS - PROPERTY OF IBM */ > /*ALL RIGHTS RESERVED. */ > /* */ > /* Status - z/VM Version 5, Release 2.0 */ > /* */ > 1314 line(s) not displayed > 'inmr123' smtp_node smtp_id ss_fn ss_ft ss_fm, > 89 line(s) not displayed > 'inmr123' locnode uft_id su_fn su_ft su_fm, > 401 line(s) not displayed > * * * End of File * * * > > I have no idea what might be a local mod. > > -- gil >
Re: [CMS-PIPELINES] Move files and preserve timestamps
On Thu, Oct 22, 2009 at 3:19 PM, Paul Gilmartin wrote: > 'inmr123' locnode uft_id su_fn su_ft su_fm, > 401 line(s) not displayed > * * * End of File * * * > > I have no idea what might be a local mod. No, it's true. And I'm surprised as well. But INMR123 REXX is now on the 190-disk. The author of that code using this imho went a bit over the top to select a non-printable as the pipeline end character - ugly! Rob
Re: [CMS-PIPELINES] Move files and preserve timestamps
On Oct 21, 2009, at 19:47, Bob Cronin wrote: To my knowledge, INMR123 is a PIPE sample/example filter, I don't think it is used by SENDFILE, but I admit I haven't looked at the SENDFILE logic in 8 or 10 years (back when I wrote my *LIST-aware version, SENDLIST), so I I see: * * * Top of File * * * /*/ /* */ /* Copyright - */ /* */ /*THIS MODULE IS "RESTRICTED MATERIALS OF IBM" */ /*5741-A05 (C) COPYRIGHT IBM CORP. - 1982, 2005 */ /*LICENSED MATERIALS - PROPERTY OF IBM */ /*ALL RIGHTS RESERVED. */ /* */ /* Status - z/VM Version 5, Release 2.0 */ /* */ 1314 line(s) not displayed 'inmr123' smtp_node smtp_id ss_fn ss_ft ss_fm, 89 line(s) not displayed 'inmr123' locnode uft_id su_fn su_ft su_fm, 401 line(s) not displayed * * * End of File * * * I have no idea what might be a local mod. -- gil
Re: [CMS-PIPELINES] Move files and preserve timestamps
I did write a TAR to unpack some files some twenty years ago. If I can find it, I'll put it on the pipelines home page. j. 2009/10/22 Bob Cronin : > To my knowledge, INMR123 is a PIPE sample/example filter, I don't think it > is used by SENDFILE, but I admit I haven't looked at the SENDFILE logic in 8 > or 10 years (back when I wrote my *LIST-aware version, SENDLIST), so I > suppose it might be using Pipelines now. In any event, I use INMR123 (with a > few private tweaks to handle some degenerate cases that I've seen internally > that The Piper didn't think were worth updating the sample/example for) in > our Xagent email gateway (which manages the interchange of all IBM internal > mainframe-format email with mail clients expecting mail to have been > composed according to the tenets of RFC2822 and its MIME cousins). > -- > bc > > On Wed, Oct 21, 2009 at 5:50 PM, Paul Gilmartin wrote: > >> On 10/21/09 15:34, Bob Cronin wrote: >> >>> See the INMR123 REXX for creating NetData headers. You can set whatever >>> date/times you like when you create them, then simply RECEIVE them. >>> -- >>> >>> Wow! so SENDFILE now uses Pipelines. I'm s far behind the >> times. >> >> But I notice that SENDFILE goes to considerable trouble to >> save and restore the state of 00D, which can never be done >> perfectly (what if the caller has his punch spooled CONT?) >> >> But why bother? Since the PUNCH stage has the devaddr option, >> it would be minimally disruptive to CP DEFINE a brand new >> punch, use that, and CP DETACH it when done. (I've done >> this on occasion, long ago.) Simpler is better. >> >> -- gil >> >
Re: [CMS-PIPELINES] Move files and preserve timestamps
To my knowledge, INMR123 is a PIPE sample/example filter, I don't think it is used by SENDFILE, but I admit I haven't looked at the SENDFILE logic in 8 or 10 years (back when I wrote my *LIST-aware version, SENDLIST), so I suppose it might be using Pipelines now. In any event, I use INMR123 (with a few private tweaks to handle some degenerate cases that I've seen internally that The Piper didn't think were worth updating the sample/example for) in our Xagent email gateway (which manages the interchange of all IBM internal mainframe-format email with mail clients expecting mail to have been composed according to the tenets of RFC2822 and its MIME cousins). -- bc On Wed, Oct 21, 2009 at 5:50 PM, Paul Gilmartin wrote: > On 10/21/09 15:34, Bob Cronin wrote: > >> See the INMR123 REXX for creating NetData headers. You can set whatever >> date/times you like when you create them, then simply RECEIVE them. >> -- >> >> Wow! so SENDFILE now uses Pipelines. I'm s far behind the > times. > > But I notice that SENDFILE goes to considerable trouble to > save and restore the state of 00D, which can never be done > perfectly (what if the caller has his punch spooled CONT?) > > But why bother? Since the PUNCH stage has the devaddr option, > it would be minimally disruptive to CP DEFINE a brand new > punch, use that, and CP DETACH it when done. (I've done > this on occasion, long ago.) Simpler is better. > > -- gil >
Re: [CMS-PIPELINES] Move files and preserve timestamps
I years ago set up a process to mirror the Marist pipelines site, which might be easily adaptable to your situation. It uses ftp as transport, and sets the timestamp of the local files to match the source. Send me a note off-list if you're interested. -- Mike Harding z/VM System Support mhard...@us.ibm.com mike.b.hard...@kp.org mikehard...@mindless.com (925) 926-3179 (w) (925) 457-9183 (c) IM: VMBearDad (AIM), mbhcpcvt (Y!) CMSTSO Pipelines Discussion List wrote on 10/21/2009 02:56:51 PM: > From: Paul Gilmartin > To: CMS-PIPELINES@VM.MARIST.EDU > Date: 10/21/2009 02:58 PM > Subject: Re: Move files and preserve timestamps > Sent by: CMSTSO Pipelines Discussion List > > On 10/21/09 15:47, Avery, Matt wrote: > > One way of sending files from unix along with metadata is to put the > > files in a .tar archive. > > > Of course. Or zip. ARCUTIL undoes zip, I think. > > > Unpacking .tar in pipes would be a doddle. > > > Not if I have to write it. Can I steal it? (What's > a doddle?) > > > > Only > > downside is that you would have to deal with all the ASCII/EBCDIC > > translation, rather than offloading that job to FTP. > > > There are stages for that. DEBLOCK | XLATE. > > I used to know a lot of this stuff. > > -- gil
Re: [CMS-PIPELINES] Move files and preserve timestamps
The .tar format doesn't have any compression - it just puts a fixed-length header record in front of each file and appends them all together. So it would be much easier to unpack in pipes IMO. Unfortunately, I don't have anything you can steal - I only did it the other way round. I built a pipe to put all of my precious CMS files in a .tar so I could rescue them when the mainframe got decommissioned :-( -Matt -Original Message- From: CMSTSO Pipelines Discussion List [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Paul Gilmartin Sent: 21 October 2009 22:57 To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: Move files and preserve timestamps On 10/21/09 15:47, Avery, Matt wrote: > One way of sending files from unix along with metadata is to put the > files in a .tar archive. > Of course. Or zip. ARCUTIL undoes zip, I think. > Unpacking .tar in pipes would be a doddle. > Not if I have to write it. Can I steal it? (What's a doddle?) > Only > downside is that you would have to deal with all the ASCII/EBCDIC > translation, rather than offloading that job to FTP. > There are stages for that. DEBLOCK | XLATE. I used to know a lot of this stuff. -- gil
Re: [CMS-PIPELINES] Move files and preserve timestamps
On 10/21/09 15:34, Bob Cronin wrote: See the INMR123 REXX for creating NetData headers. You can set whatever date/times you like when you create them, then simply RECEIVE them. -- Wow! so SENDFILE now uses Pipelines. I'm s far behind the times. But I notice that SENDFILE goes to considerable trouble to save and restore the state of 00D, which can never be done perfectly (what if the caller has his punch spooled CONT?) But why bother? Since the PUNCH stage has the devaddr option, it would be minimally disruptive to CP DEFINE a brand new punch, use that, and CP DETACH it when done. (I've done this on occasion, long ago.) Simpler is better. -- gil
Re: [CMS-PIPELINES] Move files and preserve timestamps
On 10/21/09 15:47, Avery, Matt wrote: One way of sending files from unix along with metadata is to put the files in a .tar archive. Of course. Or zip. ARCUTIL undoes zip, I think. Unpacking .tar in pipes would be a doddle. Not if I have to write it. Can I steal it? (What's a doddle?) Only downside is that you would have to deal with all the ASCII/EBCDIC translation, rather than offloading that job to FTP. There are stages for that. DEBLOCK | XLATE. I used to know a lot of this stuff. -- gil
Re: [CMS-PIPELINES] Move files and preserve timestamps
One way of sending files from unix along with metadata is to put the files in a .tar archive. Unpacking .tar in pipes would be a doddle. Only downside is that you would have to deal with all the ASCII/EBCDIC translation, rather than offloading that job to FTP. -Matt -Original Message- From: CMSTSO Pipelines Discussion List [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Bob Cronin Sent: 21 October 2009 22:35 To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: Move files and preserve timestamps See the INMR123 REXX for creating NetData headers. You can set whatever date/times you like when you create them, then simply RECEIVE them. -- bc On Wed, Oct 21, 2009 at 5:05 PM, Paul Gilmartin wrote: > On 10/21/09 14:59, Schuh, Richard wrote: > >> This is probably a silly question, but does Unix support NJE? >> >> I don't believe so. But what if it did? What if I could fake > it (perhaps shareware)? How would I proceed? > > But you got me thinking. There is a NETDATA stage, and somewhere > boiler plate to make the INMR headers. Maybe I could tweak that. > > -- gil >
Re: [CMS-PIPELINES] Move files and preserve timestamps
See the INMR123 REXX for creating NetData headers. You can set whatever date/times you like when you create them, then simply RECEIVE them. -- bc On Wed, Oct 21, 2009 at 5:05 PM, Paul Gilmartin wrote: > On 10/21/09 14:59, Schuh, Richard wrote: > >> This is probably a silly question, but does Unix support NJE? >> >> I don't believe so. But what if it did? What if I could fake > it (perhaps shareware)? How would I proceed? > > But you got me thinking. There is a NETDATA stage, and somewhere > boiler plate to make the INMR headers. Maybe I could tweak that. > > -- gil >
Re: [CMS-PIPELINES] Move files and preserve timestamps
Is this a one-time effort? If so, hy not send all the files over, then send a list containing all the files and their timestamps. Then run the listing thru and EXEC that runs DMSPLU against each. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. "Schuh, Richard" Sent by: "CMSTSO Pipelines Discussion List" 10/21/2009 04:29 PM Please respond to "CMSTSO Pipelines Discussion List" To CMS-PIPELINES@VM.MARIST.EDU cc Subject Re: Move files and preserve timestamps DMSPLU can be used to change the timestamp of an existing file. There are probably several shops that have a REDATE (or other name) EXEC to do it. The problem may lie in getting the metadata included with the file. I use REDATE all the time when putting compiled EXECs on our TOOLS disk. I redate the compiled EXEC and its LISTING to agree with the source file's timestamp. I don't see anything in the AHELP for BLOCK NETDATA that provides a timestamp capability. Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Mike Walter > Sent: Wednesday, October 21, 2009 2:07 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Re: Move files and preserve timestamps > > 1) Google is your friend: DMSPLU syntax >The first hit displays Fran Hensler's reply: >www.mail-archive.com/ib...@listserv.uark.../msg19069.html > > 2) Source code is an even better friend. >You should have source code to DMSPLU ASSEMBLE - the > syntax is included therein. >> VMFSETUP ZVM CMS >> FILELIST DMSPLU * * > > I can't think of a Pipes BIF to write a file wit a specific > date/time (on MDISK or SFS). > > Mike Walter > Hewitt Associates > The opinions expressed herein are mine alone, not my employer's. > > > > > "Paul Gilmartin" > > Sent by: "CMSTSO Pipelines Discussion List" > > 10/21/2009 03:50 PM > Please respond to > "CMSTSO Pipelines Discussion List" > > > > To > CMS-PIPELINES@VM.MARIST.EDU > cc > > Subject > Move files and preserve timestamps > > > > > > > (Slightly OT, but this is an eclectic list.) > > I have several dozen files I want to move from a UNIX system > to CMS. I'd like to preserve the timestamps. What utilities > exist for this? > > Long ago, I stumbled on DMSPLU MODULE, used by VMFPLCD EXEC, > but I could never find any documentation for it. (Why?) > > Or, I could transfer the files; SENDFILE them to myself; zap > the NETDATA; and RECEIVE. Ugh! > > Any better ideas? Are there Pipeline facilities to control > this sort of metadata? > > Thanks, > gil > > > > > > > The information contained in this e-mail and any accompanying > documents may contain information that is confidential or > otherwise protected from disclosure. If you are not the > intended recipient of this message, or if this message has > been addressed to you in error, please immediately alert the > sender by reply e-mail and then delete this message, > including any attachments. Any dissemination, distribution or > other use of the contents of this message by anyone other > than the intended recipient is strictly prohibited. All > messages sent to and from this e-mail address may be > monitored as permitted by applicable law and regulations to > ensure compliance with our internal policies and to protect > our business. E-mails are not secure and cannot be guaranteed > to be error free as they can be intercepted, amended, lost or > destroyed, or contain viruses. You are deemed to have > accepted these risks if you communicate with us by e-mail. > The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: [CMS-PIPELINES] Move files and preserve timestamps
DMSPLU can be used to change the timestamp of an existing file. There are probably several shops that have a REDATE (or other name) EXEC to do it. The problem may lie in getting the metadata included with the file. I use REDATE all the time when putting compiled EXECs on our TOOLS disk. I redate the compiled EXEC and its LISTING to agree with the source file's timestamp. I don't see anything in the AHELP for BLOCK NETDATA that provides a timestamp capability. Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Mike Walter > Sent: Wednesday, October 21, 2009 2:07 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Re: Move files and preserve timestamps > > 1) Google is your friend: DMSPLU syntax >The first hit displays Fran Hensler's reply: >www.mail-archive.com/ib...@listserv.uark.../msg19069.html > > 2) Source code is an even better friend. >You should have source code to DMSPLU ASSEMBLE - the > syntax is included therein. >> VMFSETUP ZVM CMS >> FILELIST DMSPLU * * > > I can't think of a Pipes BIF to write a file wit a specific > date/time (on MDISK or SFS). > > Mike Walter > Hewitt Associates > The opinions expressed herein are mine alone, not my employer's. > > > > > "Paul Gilmartin" > > Sent by: "CMSTSO Pipelines Discussion List" > > 10/21/2009 03:50 PM > Please respond to > "CMSTSO Pipelines Discussion List" > > > > To > CMS-PIPELINES@VM.MARIST.EDU > cc > > Subject > Move files and preserve timestamps > > > > > > > (Slightly OT, but this is an eclectic list.) > > I have several dozen files I want to move from a UNIX system > to CMS. I'd like to preserve the timestamps. What utilities > exist for this? > > Long ago, I stumbled on DMSPLU MODULE, used by VMFPLCD EXEC, > but I could never find any documentation for it. (Why?) > > Or, I could transfer the files; SENDFILE them to myself; zap > the NETDATA; and RECEIVE. Ugh! > > Any better ideas? Are there Pipeline facilities to control > this sort of metadata? > > Thanks, > gil > > > > > > > The information contained in this e-mail and any accompanying > documents may contain information that is confidential or > otherwise protected from disclosure. If you are not the > intended recipient of this message, or if this message has > been addressed to you in error, please immediately alert the > sender by reply e-mail and then delete this message, > including any attachments. Any dissemination, distribution or > other use of the contents of this message by anyone other > than the intended recipient is strictly prohibited. All > messages sent to and from this e-mail address may be > monitored as permitted by applicable law and regulations to > ensure compliance with our internal policies and to protect > our business. E-mails are not secure and cannot be guaranteed > to be error free as they can be intercepted, amended, lost or > destroyed, or contain viruses. You are deemed to have > accepted these risks if you communicate with us by e-mail. >
Re: [CMS-PIPELINES] Move files and preserve timestamps
Also for sending files. We use SENDFILE/RECEIVE on CMS while MVS uses XMIT/RECEIVE. Normally, SENDFILE to another system is NJE format unless you specify SMTP, MIME or some other protocol. Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Paul Gilmartin > Sent: Wednesday, October 21, 2009 2:20 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Re: Move files and preserve timestamps > > On 10/21/09 15:13, Schuh, Richard wrote: > > If it did, the timestamps could be preserved using RECEIVE (OLDD. > > > I thought NJE abbreviates Network Job Entry, a facility for > submitting batch jobs. So, should I submit a job to > someplace that does a SENDFILE? > > Hmmm. Perhaps we have an NFS server on a VM system. That > might do it. > > -- gil >
Re: [CMS-PIPELINES] Move files and preserve timestamps
On 10/21/09 15:13, Schuh, Richard wrote: If it did, the timestamps could be preserved using RECEIVE (OLDD. I thought NJE abbreviates Network Job Entry, a facility for submitting batch jobs. So, should I submit a job to someplace that does a SENDFILE? Hmmm. Perhaps we have an NFS server on a VM system. That might do it. -- gil
Re: [CMS-PIPELINES] Move files and preserve timestamps
If it did, the timestamps could be preserved using RECEIVE (OLDD. Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Paul Gilmartin > Sent: Wednesday, October 21, 2009 2:06 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Re: Move files and preserve timestamps > > On 10/21/09 14:59, Schuh, Richard wrote: > > This is probably a silly question, but does Unix support NJE? > > > I don't believe so. But what if it did? What if I could > fake it (perhaps shareware)? How would I proceed? > > But you got me thinking. There is a NETDATA stage, and > somewhere boiler plate to make the INMR headers. Maybe I > could tweak that. > > -- gil >
Re: [CMS-PIPELINES] Move files and preserve timestamps
1) Google is your friend: DMSPLU syntax The first hit displays Fran Hensler's reply: www.mail-archive.com/ib...@listserv.uark.../msg19069.html 2) Source code is an even better friend. You should have source code to DMSPLU ASSEMBLE - the syntax is included therein. > VMFSETUP ZVM CMS > FILELIST DMSPLU * * I can't think of a Pipes BIF to write a file wit a specific date/time (on MDISK or SFS). Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. "Paul Gilmartin" Sent by: "CMSTSO Pipelines Discussion List" 10/21/2009 03:50 PM Please respond to "CMSTSO Pipelines Discussion List" To CMS-PIPELINES@VM.MARIST.EDU cc Subject Move files and preserve timestamps (Slightly OT, but this is an eclectic list.) I have several dozen files I want to move from a UNIX system to CMS. I'd like to preserve the timestamps. What utilities exist for this? Long ago, I stumbled on DMSPLU MODULE, used by VMFPLCD EXEC, but I could never find any documentation for it. (Why?) Or, I could transfer the files; SENDFILE them to myself; zap the NETDATA; and RECEIVE. Ugh! Any better ideas? Are there Pipeline facilities to control this sort of metadata? Thanks, gil The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: [CMS-PIPELINES] Move files and preserve timestamps
On 10/21/09 14:59, Schuh, Richard wrote: This is probably a silly question, but does Unix support NJE? I don't believe so. But what if it did? What if I could fake it (perhaps shareware)? How would I proceed? But you got me thinking. There is a NETDATA stage, and somewhere boiler plate to make the INMR headers. Maybe I could tweak that. -- gil
Re: [CMS-PIPELINES] Move files and preserve timestamps
This is probably a silly question, but does Unix support NJE? Regards, Richard Schuh > -Original Message- > From: CMSTSO Pipelines Discussion List > [mailto:cms-pipeli...@vm.marist.edu] On Behalf Of Paul Gilmartin > Sent: Wednesday, October 21, 2009 1:51 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Move files and preserve timestamps > > (Slightly OT, but this is an eclectic list.) > > I have several dozen files I want to move from a UNIX system > to CMS. I'd like to preserve the timestamps. What utilities > exist for this? > > Long ago, I stumbled on DMSPLU MODULE, used by VMFPLCD EXEC, > but I could never find any documentation for it. (Why?) > > Or, I could transfer the files; SENDFILE them to myself; zap > the NETDATA; and RECEIVE. Ugh! > > Any better ideas? Are there Pipeline facilities to control > this sort of metadata? > > Thanks, > gil >