Page 2 of 2

Re: IEBUPDTE to update 1st record in a JOB library

PostPosted: Tue May 08, 2018 8:18 pm
by steve-myers
Steve Coalbran wrote:
steve-myers wrote:My little example was to do the
I think you went SD37 there Steve?
Yes, it got posted without me realizing it, probably because of a finger check of some sort. The correct version was reposted

Re: IEBUPDTE to update 1st record in a JOB library

PostPosted: Tue May 08, 2018 9:20 pm
by NicC
My take on the manual is that the replacement data, i.e. the new jobcard in this instance, has to have a sequence number so that it can be matched against the existing data. I guess that if you use re-sequence and change you could resequence with the first line as 00000001 and you have that on your new jobcard. of course, it depends on the requencing being done before the change!

Re: IEBUPDTE to update 1st record in a JOB library

PostPosted: Wed May 09, 2018 10:24 am
by Steve Coalbran
NicC wrote:Steve,
I do not see the sequence number thet it is supposed to replace. From the manual:
Data statement 1, sequence number 00000020

I thought the examples in the manual were hopeless. Why don't they just show actual cards? With a COLS line above/below?
The sequence number is in cols 73 for 8
 BROWSE    N472730.USER.JCL(JOBACUPD) - 01.02       Line 0000000007 Col 001 080
 Command ===>                                                  Scroll ===> CSR  
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
//SYSIN    DD DATA,DLM='\\'                                                    
./ CHANGE  NAME=JOBACUPT,LIST=ALL,UPDATE=INPLACE,SEQFLD=738                    
./ NUMBER  SEQ1=00000001,NEW1=00000002,INCR=1                                  
//N472730A JOB (SJ,P),'JOB AC CHANGE',CLASS=A,MSGCLASS=O                00000001
\\  
That's the SEQFLD=738 I assumed(?). I don't want to devote too much time to this, just trying to save some EXCPs. I think I'm already top of the MSU usage hit-list!
Don't know why you haven't retired!
Need something to do and cleaning the flat is not on my wishlist.

BTW:
In your rôle as Global Moderator... When I log into this forum it always asks me to logon despite I have...
Image Log me on automatically each visit (Sorry, no size option for [img] tags in this BBcode implementation?)
ALSO:
Inside my [code] above, I need to type DLM='\\\' to get the '\\' displayed! Bug!? :o

Re: IEBUPDTE to update 1st record in a JOB library

PostPosted: Wed May 09, 2018 11:14 am
by steve-myers
For automatic logon to work you can't clear cookies etc. I've switched to Firefox for most browsing where I clear cookies several times a day; I keep Chrome just for the sites like this where I keep a persistent logon.

For what it's worth, the default is SEQFLD=738

Re: IEBUPDTE to update 1st record in a JOB library

PostPosted: Wed May 09, 2018 11:26 am
by Steve Coalbran
Thanks Steve,
I'm not sure I can download Firefox here although I used to prefer it when I was still at IBM. Bank is a bit fussy about what one downloads and controls it.
I can see Chrome on my task bar and I use it. Despite this every time I do so it asks me if I want to start using Chrome?!
"Go figure!" as they say? :roll:

Re: IEBUPDTE to update 1st record in a JOB library

PostPosted: Wed May 09, 2018 4:24 pm
by steve-myers
No no. I'm just saying what I do. You may have two browsers already - M$ Internet Exploder or that new one no one seems to like and Chrome, for example. Use the one you most dislike for use here Chrome for your regular browser that you can clear the cookies easily. Heck, its easier for me to clear the cookies in the Win 7 version of Exploder than Chrome. I guess that's one advantage of being retired; I don't have official control over my configuration!!

Re: IEBUPDTE to update 1st record in a JOB library

PostPosted: Fri May 11, 2018 1:45 pm
by Steve Coalbran
The purpose of this exercise is to reformat the JOB accounting information across, primarily TWS, JOB libraries, but others will follow.
I had planned to ZAP the libraries in-place using special authorization. :o
I was hoping to use IEBUPDTE for these reasons:
  • To update only the top line
  • To have no possibility of changing any other lines
  • To do this for some 100,000 members, across 10 or more libraries, very fast
It seems, as I cannot guarantee that any member of any library uses standard numbering (ISPF NUM;RENUM), that IEBUPDTE is not a good candidate?
I am changing strategy.
Now I have decided to migrate the process to our mirror production system on the development sysplex.
Here we have a controlled, if cumbersome, process for this sort of mass-change.
As alwas it will take careful timing to effect this without overwriting concurrent changes.
I suspect overnight or weekend activities ahead? ;)
I will
  • load the identified members into what we call a develoment library (one for each source library).
  • run my reformatter into separate libraries (")
  • write a process in REXX to copy the JOBcard of each (")