Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Need options for OUTREC when Converting a file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
rejinair83
Warnings : 1

New User


Joined: 06 Feb 2007
Posts: 4
Location: Trivandrum

PostPosted: Tue Feb 06, 2007 10:31 pm    Post subject: Need options for OUTREC when Converting a file
Reply with quote

I have an input file(fileA) of LRECL=200, I want to convert this file into a 220 byte file(fileB) which has the same 1-199 fields as
in fileA plus an additional comp field which should be filled with numeric value 5100 and rest filler upto 220.

Please help me to code this. icon_biggrin.gif
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Feb 06, 2007 10:55 pm    Post subject:
Reply with quote

Have you looked at the manual for this help yet?
A simple copy and reformat, there are plenty of examples around.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


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

PostPosted: Wed Feb 07, 2007 12:04 am    Post subject:
Reply with quote

So you want input positions 1-199, followed by a comp (=binary) field for 5100 and then "filler" up to position 220 - right?

You really haven't given enough information.

1-199 means you don't want input position 200 - right?

What length do you want for the comp field (e.g. 2 bytes, 4 bytes?).

What character do you want for the "filler"?
Back to top
View user's profile Send private message
rejinair83
Warnings : 1

New User


Joined: 06 Feb 2007
Posts: 4
Location: Trivandrum

PostPosted: Wed Feb 07, 2007 12:55 pm    Post subject: Re: Need options for OUTREC when Converting a file
Reply with quote

The comp field that i want is of 6 bytes ie from 200-205 and the filler upto 220.
Filler can be blanks.. icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 07, 2007 9:16 pm    Post subject:
Reply with quote

Hello,

What code will define this 6-byte binary field? From my recollection, COMP doesn't come in a 6-byte size.
Back to top
View user's profile Send private message
rejinair83
Warnings : 1

New User


Joined: 06 Feb 2007
Posts: 4
Location: Trivandrum

PostPosted: Wed Feb 07, 2007 9:21 pm    Post subject:
Reply with quote

Thank you William,
The manual was really helpful icon_biggrin.gif
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


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

PostPosted: Wed Feb 07, 2007 9:37 pm    Post subject:
Reply with quote

rejinair83,

Do you still need help with this or did you figure it out?
Back to top
View user's profile Send private message
rejinair83
Warnings : 1

New User


Joined: 06 Feb 2007
Posts: 4
Location: Trivandrum

PostPosted: Wed Feb 07, 2007 9:40 pm    Post subject:
Reply with quote

Thanks Frank,

I had figured out the mistake.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us