Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 splitting of file using XMITIP abdulrafi TSO/ISPF 3 Mon Mar 27, 2017 3:01 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us