View previous topic :: View next topic
|
Author |
Message |
PKONDURI
New User
Joined: 17 Mar 2009 Posts: 11 Location: PUNE,India
|
|
|
|
I have been trying to execute this JCL,
Code: |
//UPDATE1 EXEC PGM=IKJEFT1B,COND=(4000,LT)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
EDIT 'CPPDEV.RR16388.REXX(BIGDAT)' OLD CNTL NONUM
F 'VERY'
C * /VERY/SERY/
SAVE
END
/*
//* |
Problems I'm facing:
1) Replacement is occurring for the first occurrence..i need to change all the occurrences..
Kindly explain the change to be made in the code as in am I missing any necessary parameter which is inhibiting me to make a global replacemt of the string
What is the way of accessing the dataset whose org is Direct Access?
Code: |
General Data Current Allocation
Volume serial . . . : D8RT1O Allocated blocks . : 21
Device type . . . . : 3390 Allocated extents . : 1
Organization . . . : DA
Record format . . . : F
Record length . . . : 2048
Block size . . . . : 2048
1st extent blocks . : 21
Secondary blocks . : 1
Creation date . . . : 2008/10/24
Referenced date . . : 2009/03/17
Expiration date . . : ***None*** |
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You need the ALL parameter |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
and remove the FIND. you are not checking the rc, so drop the line. |
|
Back to top |
|
|
PKONDURI
New User
Joined: 17 Mar 2009 Posts: 11 Location: PUNE,India
|
|
|
|
C ALL parameter is not even making change in one occurence...
C * 9999 is making a change only in first occurrence..
Kepping and removing FIND parameter is not making any difference...
Thanks for such any early response..I appreciate your time! |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
PKONDURI
New User
Joined: 17 Mar 2009 Posts: 11 Location: PUNE,India
|
|
|
|
Thanks all!
My query is solved...
My first post has been closed successfully! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Glad to hear that it's working . . . .
For the benefit of others, please share the solution used. |
|
Back to top |
|
|
PKONDURI
New User
Joined: 17 Mar 2009 Posts: 11 Location: PUNE,India
|
|
|
|
Mistakes i commited in my script:
1)i was using IKJEFT1B instead of IKJEFT01
differences between them can be seen here
2)Syntax for issuing a multiple change command is
C * 99999 =source=target= ALL
This I got from the find manual posted by ofer71
according to the find manual C 'source' 'target' all has to work but somehow it did not work! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Thnaks for letting us know the sloution - I've edited the link in your post to link to right thread. . . |
|
Back to top |
|
|
|