Page 1 of 1

Write a previous line if condition met using DFSORT/ICETOOL

PostPosted: Sat Apr 25, 2020 1:04 am
by Daouchiche
Hi ,

Need to read a member into a library and when a condition is met write the previous line.

Example:

WWWWWW
MFJ092810
LDUMMY
HHL200322
MFJ091510
LDUMMY
VV1254VFDFF

Read the member and when the line is 'LDUMMY' write into an Fb file le previous line 'MFJ092810' without the first caracters giving only 'FJ092810'.

Result wil be :

FJ091510
FJ092810

Best Regards

Re: Write a previous line if condition met using DFSORT/ICET

PostPosted: Sat Apr 25, 2020 7:01 pm
by sergeyken
Classical questions:

1) Did you hear that code tags must be used to present any code?

2) What did you try by yourself, so far?

3) What “read a member into a library” stands for? And: how any “library” is related to DFSORT/SYNCSORT?