I have a dynamically created input file which has transmission job details, I need to replace the node with my node and also the folder path with my path, I am able to achieve the replacement of node with IFTHEN/OVERLAY option but while doing same for folder path but it is going beyond 70 as the folder path is long , I tried splitting the line or replacing the path its not working. file is LRECL 70 FB.
Starting position is 3. Please help.
Please make a use of Code tags. You can post what you tried instead of saying it. Second, confirm if this is what you want -
Find &DSN2= and push the current value to next line and add the one that you have hardcoded? It doesn't match in your example above as /fffffff/ is added after /eeeeeeeee/ in expected results.
You can think of using INREC IFTHEN=(WHEN=Condition, PUSH whatever is after &DSN2=)
in OUTREC you can BUILD using '/' operator to get the push'd value on to second line eliminating blank records.
I believe, You can achieve using JOINKEYS too:)
The same story, again, and again: any advice given to new-coming “experts” is 100% ignored. They are waiting ONLY for a ready to copy-and-paste solution presented to them after all. Next step: “Thank you, Mr. Expert, it worked fine!” And after a short period of time the next question is posted here, to help with his new job assignment, and rather to do his job for him, free of charge...