How to move file record format to a data structure

Posted on 2012-09-13
Medium Priority
Last Modified: 2012-09-13
I am trying to move a file record format to a data structure...  Please help!!

Compilation error: " *RNF7416 The types of the right and left hand side do not match" on EVAL statement
FACCDAUD   IF   E           K DISK
D PreviousDS    E DS                  EXTNAME(ACCDAUD) Prefix(Pr)
C                   EVAL      PreviousDs = ACCDAUDREC

Compilation error: "*RNF3804 Name in external description is not renamed" on DataDs definition
FACCDAUD   IF   E           K DISK
D DataDS        E DS                  EXTNAME(ACCDAUD)          
D PreviousDS    E DS                  EXTNAME(ACCDAUD) Prefix(Pr)
C                   EVAL      PreviousDs = DataDs

How can I do this?

Thanks for any help!!
Question by:Tony Oswald
  • 2
LVL 36

Accepted Solution

Gary Patterson earned 2000 total points
ID: 38395361
Second one is the right way to do it.

Post the whole compile listing, please - need to see the specific filed that had a problem.  Error indicates there was an attempt to rename a column that failed.

Seems odd since I don't see code to rename a column in DataDS, but then you didn't provide us with complete source code or a listing.


If providing a full listing is going to be a problem, create a mini version with just this:

D datads ...
D previousds ...
c eval previousds=datads
c eval *inlr = *on

And compile it and see if the same problem happens.

- Gary Patterson
LVL 36

Expert Comment

by:Gary Patterson
ID: 38395858
Not sure what I did to help, but glad you got it resolved.

- Gary

Author Comment

by:Tony Oswald
ID: 38395948
your mini version helped me figure out the problem.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I came across an unsolved Outlook issue and here is my solution.
Most folks would know the basics of how Dropbox works, so that’s not the purpose of this article. Security is what it’s all about, so here I’ll share how I choose to secure my Dropbox Account and the Data it contains.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Screencast - Getting to Know the Pipeline
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question