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: 10308
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: 10308
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 Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm

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