Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10373
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: 10373
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us