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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm


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