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
 

 

Error while Opening a PS file in FILE AID using a copybook.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
vizrulz007

New User


Joined: 12 Feb 2009
Posts: 4
Location: Mangalore

PostPosted: Mon Jul 27, 2009 5:57 pm    Post subject: Error while Opening a PS file in FILE AID using a copybook.
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jul 27, 2009 6:06 pm    Post subject:
Reply with quote

Was there an associated error code issued, and if so, what does it say about it in the manual.
Back to top
View user's profile Send private message
vizrulz007

New User


Joined: 12 Feb 2009
Posts: 4
Location: Mangalore

PostPosted: Mon Jul 27, 2009 6:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
vizrulz007

New User


Joined: 12 Feb 2009
Posts: 4
Location: Mangalore

PostPosted: Mon Jul 27, 2009 6:18 pm    Post subject:
Reply with 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.

FILE IS EMPTY AAAAAAA CONTROL CARD INVALID
REPORT MEMBER CREATION FAILED, RC = 000003D8, DSN
VSAM RECORD MANAGEMENT ERROR
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: Mon Jul 27, 2009 10:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Tue Jul 28, 2009 12:48 am    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jul 28, 2009 2:18 pm    Post subject:
Reply with quote

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
View user's profile Send private message
vizrulz007

New User


Joined: 12 Feb 2009
Posts: 4
Location: Mangalore

PostPosted: Tue Jul 28, 2009 6:12 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm


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