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
 

 

REXX Code to list COBOL field number same as File-aid

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
LinkinPark
Warnings : 1

New User


Joined: 20 Nov 2005
Posts: 44
Location: DALIAN,CHINA

PostPosted: Sun Mar 06, 2011 5:20 am    Post subject: REXX Code to list COBOL field number same as File-aid
Reply with quote

Hi, My requirement is Rexx process the COBOL copybook the output field name and number list as following, works like File-aid view function.


E.g.

FIELD-1 1
FIELD-2 2

by the way, occurance expendable and group field is also assigned a number
one more thing, output is a seq file
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Mar 06, 2011 10:49 am    Post subject:
Reply with quote

... and the question is...?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Sun Mar 06, 2011 11:01 am    Post subject:
Reply with quote

ofer71 wrote:
... and the question is...?


Who will write it for me!
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: Sun Mar 06, 2011 11:09 am    Post subject:
Reply with quote

Hello,

Quote:
... and the question is...?
Yup, this is a prime example of how "not to" get help. . .

No sample input is shown. The output wanted from the sample input is not shown. I do not understand what this (by the way, occurance expendable) means, but maybe proper sample data would clarify.

And possibly worse - the post assumes people are rather familiar with both COBOL and FileAid (which is untrue for many of the better clist/rexx contributors).

Suggest some "real" cobol code be posted as well as needed output.
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Sun Mar 06, 2011 11:40 pm    Post subject:
Reply with quote

I think the op is trying to get a list of field names with file offsets. For such a task this project may be of use:

http://sourceforge.net/projects/cb2xml/
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
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