Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us