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
 

 

significance of 255 in JCL??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
paul_007

New User


Joined: 03 Aug 2006
Posts: 33
Location: earth

PostPosted: Thu Nov 02, 2006 2:20 pm    Post subject: significance of 255 in JCL??
Reply with quote

what is so special about this 255 in JCL i mean ...there are 255 steps in JCL.....255 procedure in single JCL .....255 generation in a single gdg BASE...... why 255???
Back to top
View user's profile Send private message

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Thu Nov 02, 2006 2:53 pm    Post subject:
Reply with quote

Hi !

255 is as special as 4096.

Btw, 4096 is the highest value for adressing Bytes with a Base-Register in Assembler.

255 is the highest value a byte could have. So 255 decimal is "FF" in hexa.
In former times at the beginning of comuters and programmings you had
always byte-commands. Remember the Assembler-Instruction MVC. It is
the same as MOVE in Cobol. The longest field you could move with one
instruction could only be 255 bytes. Also all the internal routins for accessing and handling Datasets, written bei IBM, are using ContolBlocks and special SystemServices based on that restriction.

For example, if you open a dataset in cobol-programm, in the background, the internal I/O-Routins are accessing a RDJFCB (READ-JOB-FILE-CONTROLBLOCK), where all Information of the actual dataset is stored.

It's the chaining beetween your logical file in programm and the physical file, declared in the JobControlLanguage, and the actual physical device.

Now, this RDJFCB has a special structure and field-order. Some contents are stored in only one byte. And so, the highest value could only be 255. No one would be so crazy to change all these old routins. Nothing more would work. You only could enhance these ControlBlocks with new features, but you must leave the earlier fields and flags.

And now comming to the limitation of 255 GDG's. The limit-value is stored
in on Byte of such ControlBlock. And what is the highest value you could store in one Byte ??? !!!


Thank you fore listening to my little excurse of mainframe stone-age.

Regards, UmeySan
(mainframe-dinosaur)
Back to top
View user's profile Send private message
paul_007

New User


Joined: 03 Aug 2006
Posts: 33
Location: earth

PostPosted: Thu Nov 02, 2006 3:34 pm    Post subject: Re: significance of 255 in JCL??
Reply with quote

thnx a lot umey san ...you solved a big doubt in my mind


icon_smile.gif



thnx a lot once again
Back to top
View user's profile Send private message
prashanth1

New User


Joined: 27 Sep 2006
Posts: 47
Location: Hyderabad

PostPosted: Thu Nov 02, 2006 3:46 pm    Post subject:
Reply with quote

Really U r gr8
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts what is the significance of REPLACE=N... Bill Woodger JCL & VSAM 6 Thu Feb 07, 2013 1:10 pm
No new posts Significance of APOST and XREF in PARM Kalyan Chakravarthi JCL & VSAM 2 Fri Jan 18, 2013 5:06 pm
No new posts Significance of COBOL PROGRAM-ID kumar32149 COBOL Programming 3 Sat Apr 30, 2011 10:44 pm
No new posts Significance of level 49 with DB2 VAR... raghav08 DB2 5 Fri Sep 17, 2010 1:46 pm
No new posts Significance of value -252645136 whil... murugan_mf COBOL Programming 6 Tue Aug 17, 2010 10:52 am


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