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
 
Regardinf FD entries for variable block

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
arindambanerjee

New User


Joined: 30 Jun 2007
Posts: 39
Location: India

PostPosted: Sat Jan 05, 2008 4:20 pm    Post subject: Regardinf FD entries for variable block
Reply with quote

Hi friends,
i have an input file say payment file with FD entries as follows:

FD PAYMENT-FILE
RECORDING MODE IS V
[red] LABEL RECORDS ARE STANDARD[/RED]
RECORD IS VARYING FROM 1 TO 1988(OR SHOULD IT BE 4 TO 1992)
BLOCK CONTAINS 0 RECORDS
DATA RECORD IS PAYMENT-REC.
01 PAYMENT-REC PIC X(1988).

Now my ques is in jcl we will be declaring the DS as of length 1992 as it is variable block.
1. why are we leaving 4 bytes?
2.can we write LABEL RECORDS ARE STANDARD for variable block?
3. will the record is varying from clause be 1 to 1988/4 to 1992?i have tried with both but there is no difference in the o/p?whats the actual reason behind it?can you enlighten me regarding this?
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Sat Jan 05, 2008 5:51 pm    Post subject:
Reply with quote

banerjee,

At the top of every page, you have 'manuals' link. Go thru COBOL manual for the answers.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm

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