Hi to all,

I've got a requirement where a single line in large dataset (RECFM=VB or FB and 
LRECL=<larger than 2048>) needs to be edited/changed in batch. Changed dataset 
is then to be used in next job steps.

Sounds easy? Interactively with TSO yes, but they want it to be done in a batch 
job.

Something like c '???' '!!!' which can be easily done interactively.

I have a look at the different utilities. One utility I could find useful is 
the EDIT and CHANGE commands running under IKJEFT.

Unfortunately those IKJEFT01 commands require that the dataset lines need to be 
numbered.

I tried it out:

READY                                     
  EDIT '??.TEST' OLD TEXT ASIS NONUM
EDIT                                      
  CHANGE 1  2000     'ONE' 'TWO'       
IKJ52502I DATA SET NOT LINE NUMBERED      
EDIT                                      
END                                       

The IKJ52502I is not what I want. Is there a batch utility where I can edit a 
line in large dataset?

I am very sure I am overlooking something obvious.

Many thanks in advance.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to