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
 

 

File Definition in PL/I

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
arunvenu

New User


Joined: 29 May 2008
Posts: 5
Location: Bangalore, India

PostPosted: Mon Jun 02, 2008 4:19 pm    Post subject: File Definition in PL/I
Reply with quote

What is the difference between

DCL OVDRPT FILE
OUTPUT
RECORD
ENV(FB RECSIZE(132) TOTAL);

and

DCL OVDRPT FILE
OUTPUT
RECORD
ENV(FB RECSIZE(132));

???

I was working through a program and when the definition of the file contained TOTAL in it it was giving me a U208 error and when the 'TOTAL' was removed from the file definition the module was getting compiled properly, please look into the attachment for further details.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Wed Jun 04, 2008 10:32 pm    Post subject: Reply to: File Definition in PL/I
Reply with quote

Quote:
ENV(FB RECSIZE(132) TOTAL);


could You please tell me in what manual You found that format for the ENV
attribute

I searched but nowhere in the pl/1 reference/guide manual I founf the keyword TOTAL
Back to top
View user's profile Send private message
arunvenu

New User


Joined: 29 May 2008
Posts: 5
Location: Bangalore, India

PostPosted: Fri Jun 06, 2008 11:15 am    Post subject: Re: Reply to: File Definition in PL/I
Reply with quote

Hi enrico-sorichetti,

I didnt get the format from any manual, We use it in work for file definitions generally. I saw many links where this kind of file definitions were used, please look into the below link:

http://columbia.edu/~kermit/ftp/b/tsnpst.pli

In the above link I find the same definition where TOTAL was used.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Fri Jun 06, 2008 1:13 pm    Post subject: Reply to: File Definition in PL/I
Reply with quote

If You want help to find an explanation we must agree on a common base...
for me the common base are the manuals for the pl/i release You are using...

once upon a time but the docs seem to be lost TOTAL was allowed,
IBM has an apar dated 2002 pointing to a VISUALAGE issue, but that' all

it looks like You are migrating from an old PL/i that supported or at least ignored the specification..

please post the compiler messages You got when specifying the TOTAL attribute
Back to top
View user's profile Send private message
arunvenu

New User


Joined: 29 May 2008
Posts: 5
Location: Bangalore, India

PostPosted: Fri Jun 06, 2008 2:28 pm    Post subject: Re: Reply to: File Definition in PL/I
Reply with quote

Hi enrico,

Please see the attachment for the compiler messages.
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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