IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

File Definition in PL/I


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jun 04, 2008 10:32 pm
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
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:

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jun 06, 2008 1:13 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top