Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : All available storage is assigned to the job or jobstep, If REGION is coded 0K or 0M

Google
 
Web mainframegurukul.com

fields from comp and comp-3 to zoned and return

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> COBOL
  View previous topic :: View next topic  
Author Message
mangela
Member


Joined: 24 Jan 2007
Posts: 5
Location: Italy

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 06, 2007 3:26 pm    Post subject: fields from comp and comp-3 to zoned and return Reply with quote

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
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.

dbzTHEdinosauer
Moderator


Joined: 02 Oct 2006
Posts: 975

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Feb 12, 2007 1:10 am    Post subject: Reply with quote

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?
_________________
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
mangela
Member


Joined: 24 Jan 2007
Posts: 5
Location: Italy

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Feb 12, 2007 10:39 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
dbzTHEdinosauer
Moderator


Joined: 02 Oct 2006
Posts: 975

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Feb 12, 2007 11:03 pm    Post subject: Reply with quote

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.
_________________
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
mangela
Member


Joined: 24 Jan 2007
Posts: 5
Location: Italy

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 13, 2007 12:10 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
dbzTHEdinosauer
Moderator


Joined: 02 Oct 2006
Posts: 975

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 13, 2007 5:32 pm    Post subject: Reply with quote

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?
_________________
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
mangela
Member


Joined: 24 Jan 2007
Posts: 5
Location: Italy

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Wed Feb 14, 2007 12:56 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
mangela
Member


Joined: 24 Jan 2007
Posts: 5
Location: Italy

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Sun Feb 25, 2007 5:38 pm    Post subject: Reply with quote

Well I don't need only one field but many fields. Yes this fields beginning in the same position.

Yes I have a minimum length record and a max length record type.
Regards
Mangela
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
dbzTHEdinosauer
Moderator


Joined: 02 Oct 2006
Posts: 975

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Fri Mar 02, 2007 4:39 pm    Post subject: Reply with quote

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.
_________________
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
academyindia4
Guest





Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Feb 01, 2016 10:49 pm    Post subject: Topic deleted by Admin Reply with quote

<< Content deleted By Admin >>
Back to top
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> COBOL All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
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

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts What are all the COBOL compilers available? 6 Sweetu 14669 Mon Feb 01, 2016 10:48 pm
academyindia4 View latest post
No new posts Stop Run in both called and calling programs !!! 4 arrbee 13179 Mon Feb 01, 2016 10:43 pm
academyindia4 View latest post
No new posts Append daily files in to a single monthly back up file 1 anandguna 615 Fri Jan 15, 2016 8:42 pm
academyindia4 View latest post
No new posts GO BACK in stand alone COBOL program 3 diwz 2530 Thu Jul 18, 2013 12:58 am
DikDude View latest post
No new posts Reg Scroll back Logic @ Dick Brenholtz 0 krispp3mar 3287 Tue Jul 12, 2011 9:09 pm
krispp3mar View latest post
 


Cobol Tutorial
This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial
This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial
This Tutorial covers all important aspects of DFSORT. Has more SORT examples
INTERVIEW Questions
This page covers important interview questions
Mainframe Jobs
Mainframe Jobs posted by members of mainframegurukul forum
FaceBook Page
MainframeGurukul FaceBook Page
LinkedIn Page
MainframeGurkul Linkedin Page

This widget requires Flash Player 9 or better







Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB

mainframetopic-2085.html