View previous topic :: View next topic
|
Author |
Message |
karthik1680 Warnings : 2 New User
Joined: 14 May 2005 Posts: 64 Location: chennai
|
|
|
|
ANSWER THIS WHAT HAPPENS WHEN YOU CODE SYSIN * AND PASS PARAMETER TO AN INSTREAM PROCEDURE.
will iti give a 1)compilation error .2) runtime error 3)or other error (if other plzz let me know that )
this is aquestion asked in kanbay .
how will you count the no of records in a ksds file ?
whats s722 abend code means ?
whats that sum fields in sort = copy , all , count mean ?
whats the diff b/w inline and outline perform ? |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
1) If in INSTREAM PROCEDURE you have a SYSIN DD * you will have JCL ERROR for INVALID JCL STATEMENT.
You cannot define in Procedures any "DD *"!
2) You can go to ISPF 3.4 and with a LISTCA near the Cluster you will receive in REC-TOTAL row the exact number. You can also work in background using IDCAMS and the command to retrieve this information is
LISTCAT ENTRIES myksds
and in sysprint you will see the same info.
3) That error happens when the number of display of your jcl in the spool exceed the maximun allowed.
4) I don't understand your question... for what I assume... you will have a error... you cannot sum without sorting... But I can be wrong...
5) I'm not a cobol programmer and I can't help you... for what you ask seems that differences between inline and outline are made in the structure of the program that can be top down or with references in other part of program with GO TO... But I'm sure that I'm wrong...
I hope in this... |
|
Back to top |
|
|
karthik1680 Warnings : 2 New User
Joined: 14 May 2005 Posts: 64 Location: chennai
|
|
|
|
thank you for your answers.
what is the purpose of jes2 and jes3? |
|
Back to top |
|
|
ideas
New User
Joined: 25 May 2005 Posts: 52 Location: India
|
|
|
|
S722 The maximum number or output lines has been exceeded.
1. The program contained an invalid write loop.
2. The number of output lines was underestimated in the JCL. |
|
Back to top |
|
|
ajay_tv2003
New User
Joined: 15 Jul 2005 Posts: 2
|
|
|
|
SUm fileds on sort means
It will accumalte and store it in another field.
ex
SUm field(a,b,c,d): The value from c to d will be added to the value in a tob ans stored in the value a to b. (correct me if I am wrong)
Sum fields=none: will remove all the duplicate records from sortin. |
|
Back to top |
|
|
kumar_ngl Warnings : 1 New User
Joined: 05 Aug 2005 Posts: 50 Location: chennai
|
|
|
|
Hi buddy
Am new to this forum and gald to be a member here,
Can anyone plz send me the cobol code which reads the VSAM file???
thanx
kumar.p.v |
|
Back to top |
|
|
kumar_ngl Warnings : 1 New User
Joined: 05 Aug 2005 Posts: 50 Location: chennai
|
|
|
|
hi Mg,
The differnce between the inline and outline perform is
Inline perfome:
Perform
add a to b
move b to c
end perform.
outline perform:
perform para1 to para3.
hope u can understand the diff now...
kumar.p.v |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Thank you Kumar, this will be useful for the future... |
|
Back to top |
|
|
sendil
New User
Joined: 30 Jun 2005 Posts: 27
|
|
|
|
3)
S722
Explanation: One of the following output limits was exceeded:
O The output limit specified by the OUTLIM keyword on the SYSOUT DD
statement
O The job output limit specified in the LINES and CARDS parameters of
the JES2 JOBPARM statement
O The job output limit specified in the BYTES, CARDS, LINES, and PAGES
parameters on the STANDARDS initialization statement or the JES3 MAIN
statement
Example for outlim syntax
//REPORT DD SYSOUT=A,OUTLIM=70000 70,000 print lines max.
The OUTLIM parameter sets a limit on the number of records(70,000) that can be
written to a SYSOUT DD statement. If the limit is reached, the SYSOUT
limit exit routine will receive control; the job may subsequently be
cancelled with a S722 abend if the exit does not provide an exemption.
Code the OUTLIM parameter only on a DD statement with the SYSOUT
parameter.
6)
An out-line perform statement procedure name is specified.
An inl-line perform statement procedure name is omitted. The perform must be delimited by end-perform statement.
2) By using LISTCAT command |
|
Back to top |
|
|
sendil
New User
Joined: 30 Jun 2005 Posts: 27
|
|
|
|
when you specfiying sort field=copy and sum field=(xxxx), the sum field will not do anything. It will give the same result as without sum field. |
|
Back to top |
|
|
|