Re: REXX to change Date in PDS member

2018-06-19 Thread Elardus Engelbrecht
Please pardon me, I know I am very late to this thread, but ... saurabh khandelwal wrote: >We are looking for YYMMDD format, which is DATE('S') function in REXX And you want to use a volser starting with 'D' and a date format? That will not work. Try using another volser naming standard or use

Re: REXX to change Date in PDS member

2018-06-12 Thread Sri h Kolusu
>> Why is the collating sequence for EN_US radically different from that for EN_CA? Gil, Don't Know : ) >> Which code pages? Only the default standard TCP/IP table >>Does DFSORT have a "hex" option? Yes it does and it can do the opposite to. (UNHEX) and it can even do BIT and UNBIT TRAN=HEX

Re: REXX to change Date in PDS member

2018-06-12 Thread Paul Gilmartin
On Tue, 12 Jun 2018 14:38:43 -0700, Sri h Kolusu wrote: >>> I hate EBCDIC! (Granted in this case it's not bad design but bad luck.) >In CMS I have dealt with this by PIPE ... | E2A | SORT | A2E ... > >With DFSORT you can SORT characters according to the ASCII collating >sequence using the format

Re: REXX to change Date in PDS member

2018-06-12 Thread Sri h Kolusu
>> I hate EBCDIC! (Granted in this case it's not bad design but bad luck.) In CMS I have dealt with this by PIPE ... | E2A | SORT | A2E ... Gil, With DFSORT you can SORT characters according to the ASCII collating sequence using the format "AC" Ofcourse it can also convert EBCDIC characters to

Re: REXX to change Date in PDS member

2018-06-12 Thread Paul Gilmartin
On Tue, 12 Jun 2018 21:17:09 +, Gibney, Dave wrote: >For the record, I find the idea of trying to cram a date into a tape volser >very strange, non-intuitive and of dubious value. > +1. But, de gustibus ... And people do simlarly with filing cabinet labels, etc. Problems arise if you need

Re: REXX to change Date in PDS member

2018-06-12 Thread Paul Gilmartin
On Tue, 12 Jun 2018 14:19:39 -0500, John McKown wrote: >On Tue, Jun 12, 2018 at 2:01 PM Bill Ashton wrote: > >> Since the OP is trying to fit D + date into a 6-character field, why not >> use a modified format like Dyyxdd, where x is a hex value for the month. In >> this case, Jan = 1, Sep = 9, Oc

Re: REXX to change Date in PDS member

2018-06-12 Thread Gibney, Dave
018 12:41 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: REXX to change Date in PDS member > > I hadn't thought about that, John. In that case, I would probably change the > xmonths to be a collated value: > xmonths = "ABCDEFGHIJKL" - not as intuitive, but easy en

Re: REXX to change Date in PDS member

2018-06-12 Thread Bill Ashton
I hadn't thought about that, John. In that case, I would probably change the xmonths to be a collated value: xmonths = "ABCDEFGHIJKL" - not as intuitive, but easy enough to get the hang of after a short while. On Tue, Jun 12, 2018 at 3:20 PM John McKown wrote: > On Tue, Jun 12, 2018 at 2:01 PM B

Re: REXX to change Date in PDS member

2018-06-12 Thread John McKown
On Tue, Jun 12, 2018 at 2:01 PM Bill Ashton wrote: > Since the OP is trying to fit D + date into a 6-character field, why not > use a modified format like Dyyxdd, where x is a hex value for the month. In > this case, Jan = 1, Sep = 9, Oct = A, Nov = B, and Dec = C. That would make > the vol refer

Re: REXX to change Date in PDS member

2018-06-12 Thread Bill Ashton
d to first answer the question about the date format. Post > > > detailed information on what you're trying to accomplish. Do not make > > > people guess what you mean. This will give you a much better chance of > > > getting a good answer to your question. > >

Re: REXX to change Date in PDS member

2018-06-12 Thread Gibney, Dave
9:33 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: REXX to change Date in PDS member > > Hello Kolusu, > > I tried to answer queries raised by different experts. > > We are looking for YYMMDD format, which is DATE('S') function in REXX > > In my cu

Re: REXX to change Date in PDS member

2018-06-12 Thread Sri h Kolusu
> We are looking for YYMMDD format, which is DATE('S') function in REXX >>Ex : In this below DD name, from JCL should be updated with today's date in OV='D18611' Saurabh, D18611 is NOT a YYMMDD format. You only have 5 digits where as YYMMDD is 6 digits. >>> Can you please suggest, how to handle

Re: REXX to change Date in PDS member

2018-06-12 Thread saurabh khandelwal
ion. > > As for the latest requirement, Look up PARSE and Build the entire string or > use OVERLAY > > Thanks, > Kolusu > > IBM Mainframe Discussion List wrote on > 06/12/2018 02:46:02 AM: > > > From: saurabh khandelwal > > To: IBM-MAIN@LISTSERV.UA.EDU >

Re: REXX to change Date in PDS member

2018-06-12 Thread Lizette Koehler
> -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Sri h Kolusu > Sent: Tuesday, June 12, 2018 8:50 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: REXX to change Date in PDS member > > Saurabh, > > You need to first answer the question about t

Re: REXX to change Date in PDS member

2018-06-12 Thread Sri h Kolusu
ok up PARSE and Build the entire string or use OVERLAY Thanks, Kolusu IBM Mainframe Discussion List wrote on 06/12/2018 02:46:02 AM: > From: saurabh khandelwal > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 06/12/2018 02:47 AM > Subject: Re: REXX to change Date in PDS member > Se

Re: REXX to change Date in PDS member

2018-06-12 Thread Paul Gilmartin
On Tue, 12 Jun 2018 12:49:25 +0300, saurabh khandelwal wrote: > >We always use IPOUPDTE for making this change but somebody have to >update IPOUPDTE Job with today's date etc, So that required members can >be updated with correct date values. Do you have any other way to make this >happen, so t

Re: [External] Re: REXX to change Date in PDS member

2018-06-12 Thread Pommier, Rex
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Sri h Kolusu Sent: Monday, June 11, 2018 4:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [External] Re: REXX to change Date in PDS member >>> Regarding the removal of leading zeros, how does one tell the > d

Re: REXX to change Date in PDS member

2018-06-12 Thread Lizette Koehler
nframe Discussion List On Behalf Of > saurabh khandelwal > Sent: Tuesday, June 12, 2018 2:49 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: REXX to change Date in PDS member > > Thanks for reply. > > We always use IPOUPDTE for making this change but somebody have to updat

Re: REXX to change Date in PDS member

2018-06-12 Thread saurabh khandelwal
half > Of Seymour J Metz > Sent: Monday, June 11, 2018 3:24 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: REXX to change Date in PDS member > > [External Email] > > You can write an ISPF script to edit the member. > > > -- > Shmuel (Seymour J.) Metz > http

Re: REXX to change Date in PDS member

2018-06-12 Thread saurabh khandelwal
gt; CDAYDD||, > '<'||, > 'VOL=SER<' > QUEUE LINEOUT > "EXECIO 1 DISKW OUTDD (FINIS" > "FREE FI(OUTDD)" > > > I will let you ponder about updatin

Re: REXX to change Date in PDS member

2018-06-12 Thread Robert Prins
On 2018-06-11 19:11, saurabh khandelwal wrote: I am new to rexx and our new requirement Which PHB came up with this "requirement"? to edit one PDS member with previous day day date today's date on regular basis . Your scheduler should be able to do this. Robert -- Robert AH Prins robert.ah

Re: [External] Re: REXX to change Date in PDS member

2018-06-11 Thread Paul Gilmartin
On Mon, 11 Jun 2018 14:55:02 -0700, Sri h Kolusu wrote: Regarding the removal of leading zeros, how does one tell the > >difference between, for example, January 11 and November 1? It's possible, >albeit unlikely, that the OP is using hex notation for the > month? :-) > >>>If that's the cas

Re: [External] Re: REXX to change Date in PDS member

2018-06-11 Thread Sri h Kolusu
A.EDU > Date: 06/11/2018 01:36 PM > Subject: Re: [External] Re: REXX to change Date in PDS member > Sent by: IBM Mainframe Discussion List > > Regarding the removal of leading zeros, how does one tell the > difference between, for example, January 11 and November 1? It's > pos

Re: REXX to change Date in PDS member

2018-06-11 Thread Tom Marchant
On Mon, 11 Jun 2018 13:26:57 -0700, Sri h Kolusu wrote: >I am guessing that OP date format is YYMMDD but needs to remove the >leading zero for Month (January thru September ) and the same for Day (01 >thru 09). If that's the case, what date is 19117? -- Tom Marchant --

Re: REXX to change Date in PDS member

2018-06-11 Thread Lou Losee
day, June 11, 2018 3:27 PM > To: IBM-MAIN@listserv.ua.edu > Subject: Re: REXX to change Date in PDS member > > Why re-invent the wheel, use IPOUPDTE. > > //UPDATE1 EXEC PGM=IPOUPDTE,PARM=UPDATE > //* > //*

Re: [External] Re: REXX to change Date in PDS member

2018-06-11 Thread Pommier, Rex
-MAIN@LISTSERV.UA.EDU] On Behalf Of Sri h Kolusu Sent: Monday, June 11, 2018 3:27 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [External] Re: REXX to change Date in PDS member >>> is the date format YYMDD ? > or Julian , yeah WTH ? Carmen, I am guessing that OP date format is YYMMDD but

Re: REXX to change Date in PDS member

2018-06-11 Thread Sri h Kolusu
'VOL=SER<' QUEUE LINEOUT "EXECIO 1 DISKW OUTDD (FINIS" "FREE FI(OUTDD)" I will let you ponder about updating the stats upon updating the contents of the member Thanks, Kolusu IBM Mainframe Discussion List wrote on 06/11/2018 12:57:09 PM: > From:

Re: REXX to change Date in PDS member

2018-06-11 Thread Bernd Oppolzer
... october :-) Am 11.06.2018 um 22:10 schrieb Bernd Oppolzer: Hi Saurabh, you should describe in more detail, what the content in the PDS member should look before and after your daily change, for example (just wild guess): before the change: D18610 Hello Group, I am new to rexx and our

Re: REXX to change Date in PDS member

2018-06-11 Thread Bernd Oppolzer
Hi Saurabh, you should describe in more detail, what the content in the PDS member should look before and after your daily change, for example (just wild guess): before the change: D18610 Hello Group, I am new to rexx and our new requirement to edit one PDS member with previous day day date

Re: REXX to change Date in PDS member

2018-06-11 Thread Carmen Vitullo
is the date format YYMDD ? or Julian , yeah WTH ? Carmen Vitullo - Original Message - From: "Seymour J Metz" To: IBM-MAIN@LISTSERV.UA.EDU Sent: Monday, June 11, 2018 2:53:03 PM Subject: Re: REXX to change Date in PDS member WTF? Are D18610 and D18611 supposed to be

Re: REXX to change Date in PDS member

2018-06-11 Thread PINION, RICHARD W.
-MAIN@LISTSERV.UA.EDU Subject: Re: REXX to change Date in PDS member [External Email] WTF? Are D18610 and D18611 supposed to be dates/ If not, what's your point? If so, what's with the one digit month? -- Shmuel (Seymour J.) Metz http://mason.gmu.e

Re: REXX to change Date in PDS member

2018-06-11 Thread Seymour J Metz
D W. Sent: Monday, June 11, 2018 3:47 PM To: IBM-MAIN@listserv.ua.edu Subject: Re: REXX to change Date in PDS member " BROWSEBKP.JCL.CNTL(BKPDABD1) - 01.99Line Col 001 080 * Top of Data ** D18610 On Behal

Re: REXX to change Date in PDS member

2018-06-11 Thread PINION, RICHARD W.
lf of PINION, RICHARD W. Sent: Monday, June 11, 2018 3:27 PM To: IBM-MAIN@listserv.ua.edu Subject: Re: REXX to change Date in PDS member Why re-invent the wheel, use IPOUPDTE. //UPDATE1 EXEC PGM=IPOUPDTE,PARM=U

Re: REXX to change Date in PDS member

2018-06-11 Thread Seymour J Metz
, June 11, 2018 3:27 PM To: IBM-MAIN@listserv.ua.edu Subject: Re: REXX to change Date in PDS member Why re-invent the wheel, use IPOUPDTE. //UPDATE1 EXEC PGM=IPOUPDTE,PARM=UPDATE

Re: REXX to change Date in PDS member

2018-06-11 Thread PINION, RICHARD W.
nday, June 11, 2018 3:24 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: REXX to change Date in PDS member [External Email] You can write an ISPF script to edit the member. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussio

Re: REXX to change Date in PDS member

2018-06-11 Thread Seymour J Metz
You can write an ISPF script to edit the member. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of saurabh khandelwal Sent: Monday, June 11, 2018 3:11 PM To: IBM-MAIN@listserv.ua.edu Subject: REXX