Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 SORT Block of records girishb2 DFSORT/ICETOOL 12 Thu Sep 15, 2016 8:58 am
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts OPC JCL Variable passion_sujesh IBM Tools 5 Fri Jul 01, 2016 4:21 am
No new posts JOINKEYs and Variable files migusd SYNCSORT 8 Fri Jun 17, 2016 3:16 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us