IEBUPDTE to update 1st record in a JOB library



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

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

Postby steve-myers » Tue May 08, 2018 8:18 pm

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

These users thanked the author steve-myers for the post:
Steve Coalbran (Wed May 09, 2018 11:11 am)
steve-myers
Global moderator
 
Posts: 1958
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 212 times

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

 

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

Postby NicC » Tue May 08, 2018 9:20 pm

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!
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2821
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 118 times

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

Postby Steve Coalbran » Wed May 09, 2018 10:24 am

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
Steve
User avatar
Steve Coalbran
 
Posts: 135
Joined: Wed Apr 06, 2011 11:49 am
Location: Stockholm, Sweden
Has thanked: 13 times
Been thanked: 1 time

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

Postby steve-myers » Wed May 09, 2018 11:14 am

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

These users thanked the author steve-myers for the post:
Steve Coalbran (Wed May 09, 2018 11:23 am)
steve-myers
Global moderator
 
Posts: 1958
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 212 times

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

Postby Steve Coalbran » Wed May 09, 2018 11:26 am

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:
Steve
User avatar
Steve Coalbran
 
Posts: 135
Joined: Wed Apr 06, 2011 11:49 am
Location: Stockholm, Sweden
Has thanked: 13 times
Been thanked: 1 time

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

Postby steve-myers » Wed May 09, 2018 4:24 pm

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!!
steve-myers
Global moderator
 
Posts: 1958
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 212 times

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

Postby Steve Coalbran » Fri May 11, 2018 1:45 pm

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 (")
Steve
User avatar
Steve Coalbran
 
Posts: 135
Joined: Wed Apr 06, 2011 11:49 am
Location: Stockholm, Sweden
Has thanked: 13 times
Been thanked: 1 time

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post