MAINFRAME - TIP OF THE DAY :
Q. If there is a situation, where we need to code more than 255 steps in a JOB?
A. We need to split jcl into two jcls , at the end of the first jcl check the condition code and initiate the second jcl.
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Posted: Fri Apr 20, 2007 1:46 am Post subject: EDIT a STRING
I need to convert a string of a file that have a variable part (with comp's and alphanumerics) to a string with a format edit. But the layout of the string is variable in every line of a file.
The command edit dont work.
Joined: 27 Mar 2007 Posts: 65 Location: Troy, MI USA
Posted: Fri Apr 20, 2007 2:34 am Post subject:
You?re going to have to give us more information than that. Many of the members here are very good, but not mind readers . Can you please give us some examples of the input you?re dealing with and what needs to be done with it? Please be very specific in your examples and processing. The more specific you are the more specific we can be with a solution.
have comp's or alphanumerics, but among the field, and i dont know the multiple layouts.
A want to convert a field of line of a file, that i dont know the layout (and have comp's in some positions in a line of the file but in other position of other lines), to a format display (without comp's)
Joined: 18 Feb 2006 Posts: 812 Location: San Jose, CA
Posted: Fri Apr 20, 2007 11:01 pm Post subject:
Yes, DFSORT can convert BI values to formatted numeric values, but you have to know the starting position and length of each value to be converted. All data is binary - the interpretation of the data may be other than binary but there's no magic way for a program to know that unless there are specific rules such as "the binary field is from positions 5-8" or "each binary field starts with X'FFFF' and is 4 bytes long". _________________ Frank Yaeger - DFSORT Development Team (IBM) - email@example.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum