fields from comp and comp-3 to zoned and return
Moderators: dbzTHEdinosauer, Moderator Group
fields from comp and comp-3 to zoned and return
Hi all,
Someone has some suggestion to resolve my problem?
I have little time and the following problem to resolve.
I must read a sequential dataset with variable length and 200 various types of record-format .
I must transport the fields of the record on file excel to modify them and to bring back them on the original file.
The record that I read is composed from a format that is the part that I must modify and a fixed part that does not interest me of 160 byte.
I do not know assembler that someone says to me could resolve the problem.
Tanks
Regards
mangela
Someone has some suggestion to resolve my problem?
I have little time and the following problem to resolve.
I must read a sequential dataset with variable length and 200 various types of record-format .
I must transport the fields of the record on file excel to modify them and to bring back them on the original file.
The record that I read is composed from a format that is the part that I must modify and a fixed part that does not interest me of 160 byte.
I do not know assembler that someone says to me could resolve the problem.
Tanks
Regards
mangela
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
mangela,
have you resolved your problem? If not:
1. do you have copybooks defining the 200 different record formats?
2. is there only one format you wish to deal with, or all 200?
3. before going to assembler (without experience) I would use REXX or even DFSORT/ICETOOL.
4. how often must this conversion run? will this be in production?
have you resolved your problem? If not:
1. do you have copybooks defining the 200 different record formats?
2. is there only one format you wish to deal with, or all 200?
3. before going to assembler (without experience) I would use REXX or even DFSORT/ICETOOL.
4. how often must this conversion run? will this be in production?
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
I am trying to resolve defining the record with 200 redefines of the
second part.
I can cut and paste the second part from a record of an other sequential data base.
This conversion run sometimes when some items ned to be modify.
I cannot use the sort why I have only dfsort 13 that does not
support the passage from ZD to PD or BI.
Among other things I do not know REX and creed not to have it.
In these dfferents records there are some tables and some redefines.
tanks.
Regards
Mangela
second part.
I can cut and paste the second part from a record of an other sequential data base.
This conversion run sometimes when some items ned to be modify.
I cannot use the sort why I have only dfsort 13 that does not
support the passage from ZD to PD or BI.
Among other things I do not know REX and creed not to have it.
In these dfferents records there are some tables and some redefines.
tanks.
Regards
Mangela
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
I realize that english is not your first tongue, so bear with me, please.
you have 200 different record formats. You need to extract data from every type?
do the 200 different record formats have anything in common?
need an answer to these two questions, before anyone can help.
if you know german, try that; it is my second language. I can then edit your post and provide an english translation for the forum.
you have 200 different record formats. You need to extract data from every type?
do the 200 different record formats have anything in common?
need an answer to these two questions, before anyone can help.
if you know german, try that; it is my second language. I can then edit your post and provide an english translation for the forum.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
if you know german, try that; it is my second language. I can then edit your post and provide an english translation for the forum.
Yes I need extract data from every type. The 200 records have in common an item that has the same name in every tracing.
The field in common is last before the fields that interest to me in the record format.
Sorry I don't speak German
tanks
regards
mangela
Yes I need extract data from every type. The 200 records have in common an item that has the same name in every tracing.
The field in common is last before the fields that interest to me in the record format.
Sorry I don't speak German
tanks
regards
mangela
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
mangela,
you only need one field? and this field is in the same position within each record type?
you have a minimum length record and a max length record type. Is this one field located within the min record length?
you only need one field? and this field is in the same position within each record type?
you have a minimum length record and a max length record type. Is this one field located within the min record length?
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
I do need many fields of a record. The fields that I need beginning to the
Same position in every record type. I have the record that I must analyze in which the fields that I must analyze, the items I must analyze beginning from the same point. I do not have the definition of this record but I have the definition of an other archives whose second part that always begins to the same point coincides with the data that I must analyze
Same position in every record type. I have the record that I must analyze in which the fields that I must analyze, the items I must analyze beginning from the same point. I do not have the definition of this record but I have the definition of an other archives whose second part that always begins to the same point coincides with the data that I must analyze
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
if the fields in question are in the same relative position within whatever record you are working with, then define your FD Record with a Min and Max record and a third which defines the fields you wish to manipulate.
sorry about the tardy reply.
sorry about the tardy reply.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page