MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Recording mode F

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
nadh
Intermediate


Joined: 08 Oct 2004
Posts: 192
Topics: 89

PostPosted: Wed Feb 16, 2005 9:47 am    Post subject: Recording mode F Reply with quote

Hi,

I have the below definition.

01 var1
02 a pic x(62)
02 b z9(09 ) blank when zeros.
02 c pic x(8 )

The total length is 80. In jcl if i specify lrecl=80 the job is abending stating that lrecl should be 81. if i change to 81 in jcl it is working fine. But why it is doing like that i'm not getting. I used in fd recording mode is F. it is expecting actual length in pgm. plus 1 size for lrecl.

Pls. clarify.

Thanks in advance
nadh
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Feb 16, 2005 10:30 am    Post subject: Reply with quote

Nadh,

Compile your program with NOADV option. You can do that by coding
Code:

CBL NOADV


as the first line of your program(before ID division)

Check this link to learn more about ADV compiler option

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG10/2.4.4?DT=20020923143836

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group