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
 

 

value of Parm length field if nothing is passed thr JCL PARM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
jyothimenon1

New User


Joined: 16 Jul 2008
Posts: 9
Location: bangalore

PostPosted: Thu Jul 24, 2008 12:21 pm    Post subject: value of Parm length field if nothing is passed thr JCL PARM
Reply with quote

Hai,

Linkage Section.
01 Parmfield.
02 parm-data pic x(20)
02 parm-length pic s9(4) comp.


Here what will be the value of parm-length before the execution.?

and value if no data passed through PARM parameter in JCL?

Will it create any error?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 24, 2008 12:30 pm    Post subject:
Reply with quote

OK, so I am not a programmer, so someone will possibly let me know if I am wrong icon_eek.gif

1) I thought that the length of the parm field was the first 4 bytes of the PARM field defined to WS.

2) Can not ever recall it being signed, but then .......................

3) Here what will be the value of parm-length before the execution.? -- Technically speaking it won't exist before execution

4) Hazard a guess at a big fat zero

5) Will it create any error? -- Why have you not tried any of this for yourself before posting ?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 24, 2008 12:48 pm    Post subject:
Reply with quote

Hi Expat,

No, you are not wrong.

This topic (and a couple others) are quite possibly mis-worded interview questions.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 24, 2008 12:48 pm    Post subject:
Reply with quote

expat,

first 2 bytes (PIC 9(4) comp.) of parm defined in linkage.

other than that, great answer.

this is the 3rd of these type of rookie questions that I have seen today on the board. 'print without dd', 'which record will be read', and this silliness.

all three of these threads should be in interview forum; or has this website decided to dumb-down the technical forums?
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm


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