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

how to write the outputfile thru JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Thu Jun 02, 2005 12:15 pm
Reply with quote

hi i have to write outputfile by comparing the ac# from the input file and one cross ref file it is having the from acc# and to acc# we have to compare the input acc#(8 bytes) to from acc# of cross ref file and we have to move to to acc# and then we have to write into output file
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jun 02, 2005 6:37 pm
Reply with quote

That's nice. Do you have a point or a specific question? icon_evil.gif
Back to top
View user's profile Send private message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Thu Jun 02, 2005 10:43 pm
Reply with quote

Please see the subject there i specified the question
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Thu Jun 02, 2005 11:09 pm
Reply with quote

JCL doesn't write output.

It links system resources to a program at execution and launches the program.

Are you looking for a utility to do this rather than writing a program?


Dave
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jun 03, 2005 1:13 am
Reply with quote

Quote:
i have to write outputfile by comparing the ac# from the input file and one cross ref file it is having the from acc# and to acc# we have to compare the input acc#(8 bytes) to from acc# of cross ref file and we have to move to to acc# and then we have to write into output file


I think it would take a mindreader to understand what this very long run-on sentence actually means.

Please explain more clearly what you want to do. Show an example of the records in each input file and what you want the output records to look like. Indicate the starting position, length and format of the relevent fields. Indicate the RECFM and LRECL of the input files. Then it might be possible for somebody to actually help you.
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Fri Jun 03, 2005 1:57 am
Reply with quote

After several reviews of the original request, it appears that the acct numbers on records of the input data are being changed to a new acct number based upon info in the xref file.

Must be a language barrier thingy.

Frank, you are such a stickler for detail icon_lol.gif (I just could not resist that comment).

Dave
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jun 03, 2005 2:44 am
Reply with quote

Quote:
After several reviews of the original request, it appears that the acct numbers on records of the input data are being changed to a new acct number based upon info in the xref file.


If true, you're a better cryptographer than I am, but that still doesn't give us much to go on in terms of figuring out an actual solution. I'm not much of a theoretician so I always do ask for the details. And sure you could have resisted - you just didn't want to. icon_smile.gif (Don't worry, I have a good sense of humor.)
Back to top
View user's profile Send private message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Fri Jun 03, 2005 11:36 am
Reply with quote

YES exactly plse provide me if is there any utility for this
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jun 03, 2005 8:11 pm
Reply with quote

Quote:
YES exactly plse provide me if is there any utility for this


Exactly what? Did you actually read my posts? I said:

Quote:
that still doesn't give us much to go on in terms of figuring out an actual solution.


Quote:
Please explain more clearly what you want to do. Show an example of the records in each input file and what you want the output records to look like. Indicate the starting position, length and format of the relevent fields. Indicate the RECFM and LRECL of the input files. Then it might be possible for somebody to actually help you.


If you want people to help you, you need to be able to explain to them exactly what you want to do. People don't have time to guess what you want. Please provide the requested information.
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Sat Jun 04, 2005 1:31 am
Reply with quote

as no details provided, must be in no hurry or just a classroom exercise

you can lead a horse to water, ...

Dave
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Compare two files with a key and writ... SYNCSORT 3
No new posts JCL to write the log on to a PDS file JCL & VSAM 10
Search our Forums:

Back to Top