IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To sort two vb input files and put in the 1 output file


IBM Mainframe Forums -> FAQ & Basics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
priya-p

New User


Joined: 24 Feb 2022
Posts: 1
Location: India

PostPosted: Thu Feb 24, 2022 2:07 pm
Reply with quote

I have two input files
File1: BB0517.PVR0.DUF.FINANCPR (recfm=vb)
FILE2: BB0517.TESTIP1 (recfm=vb) (will be attching two files in the attachements below for refernce)
output file: should be in the format of 1st input file exactly..but with 2nd input file values getting replaced
using joinkeys i need the solution for this.
can anyone please provide this
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1255
Location: Bamberg, Germany

PostPosted: Thu Feb 24, 2022 2:54 pm
Reply with quote

Do not use Attachments. Provide sample input data and desired output data. Use the code tag button when presenting code/data. The button works as a toggle.

Also show what you have tried yourself.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2023
Location: USA

PostPosted: Fri Feb 25, 2022 1:40 am
Reply with quote

priya-p wrote:
I have two input files
File1: BB0517.PVR0.DUF.FINANCPR (recfm=vb)
FILE2: BB0517.TESTIP1 (recfm=vb) (will be attching two files in the attachements below for refernce)
output file: should be in the format of 1st input file exactly..but with 2nd input file values getting replaced
using joinkeys i need the solution for this.
can anyone please provide this


DSNAME does not help to resove this issue.

No other information is provided.

It is dead-end in this situation.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Fri Feb 25, 2022 4:15 pm
Reply with quote

This is simple and asked several times on this forum . Please use SEARCH button on the top and try it.

Moved to Beginners Section.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> FAQ & Basics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
Search our Forums:

Back to Top