IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Sun Mar 06, 2011 10:49 am
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
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 06, 2011 11:09 am
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
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:

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top