View previous topic :: View next topic
|
Author |
Message |
vizrulz007
New User
Joined: 12 Feb 2009 Posts: 4 Location: Mangalore
|
|
|
|
Hi all,
When i try to browse a PS file in FILE-AID using a copybook, i am getting an error that just says "ERROR NEAR LINE 3" and the current source dataset is given as say " xx.yyyy.zzzz(aaaaaa) " where aaaaaa is the copybook. * actual names masked for security reasons *
When i hit "enter" after this, i get a message saying "NO RECORD LAYOUT".
Please let me know if anyone knows how to resolve this issue.
Thanks,
Vishnu |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Was there an associated error code issued, and if so, what does it say about it in the manual. |
|
Back to top |
|
|
vizrulz007
New User
Joined: 12 Feb 2009 Posts: 4 Location: Mangalore
|
|
|
|
I got a screen like this:
File-AID ------------------- SOURCE STATEMENT SELECTION ---- ERROR NEAR LINE 3
COMMAND ===>
"CURRENT" source dataset: XXXX.YYYY.ZZZZZZZ(AAAAAAA)
For entire member, enter blanks in top two sections.
For partial member, enter line numbers or beginning and ending string.
Record layout selection by full dataname or full word character string:
Beginning string ===>
Ending string ===>
Record layout selection by Source Statement line number:
Beginning number ===>
Ending number ===>
Number type ===> (Standard ISPF; COBOL; or Relative)
Compiler options:
Language ===> COBOL (COBOL or PL/1)
Starting level nbr ===> 01
Use 48 character set ===> NO (Yes or No; PL/1 only)
didnt get any associated errors.
Kinda baffled by this. |
|
Back to top |
|
|
vizrulz007
New User
Joined: 12 Feb 2009 Posts: 4 Location: Mangalore
|
|
|
|
when i ran a job which used the same file mentioned above, i got the following error in the spool and the job abended.
FILE IS EMPTY AAAAAAA CONTROL CARD INVALID
REPORT MEMBER CREATION FAILED, RC = 000003D8, DSN
VSAM RECORD MANAGEMENT ERROR |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Are you able to successfully use this file outside of FileAid?
Quote: |
when i ran a job which used the same file mentioned above, i got the following error in the spool and the job abended |
What was this job?
What happens if you try to browse the file without using the copybook? |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
Quote: |
File-AID ------------------- SOURCE STATEMENT SELECTION ---- ERROR NEAR LINE 3
COMMAND ===>
|
Then check the copybook around line 3.
There is a "thing" File Aid cannot decode.
If you need more help,please show the copybook.
That's all. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Pierre is correct. I ran into this error couple of times; usually, it was with a new copybook. Please show us the copybook as Pierre has said or hit PF1 and check if your site shows a longer descriptive message ... |
|
Back to top |
|
|
vizrulz007
New User
Joined: 12 Feb 2009 Posts: 4 Location: Mangalore
|
|
|
|
heyy.. thanks for all the responses folks.
The error was due to a group variable being delcared with a PIC clause.
It was kind of silly, but FILE-AID was not pointing to the line which had the error due to which it took some time to figure out the mistake. |
|
Back to top |
|
|
|