Question : You have been given below file which has multiple observations in single record
You want to produce result such that Course_name -> course_date course_fee
So that you decided to use @@ double trailing sign, which of the following statement is true for that?
A. You will have to read multiple input statement for single raw record across multiple iteration of the data steps than you will use it. B. You should put it at the end of input statement C. You should put it at the beginning of input statement D. Hold on the line will be released if pointer moves past of the record
Correct Answer : Get Lastest Questions and Answer : Explanation: whenever you want to read multiple observation from single raw record you can use either @@ or @ sign. However, if the length of each record is same you should consider using @@ sign. You should always put this @@ sign at the end of record. As soon as pointer pass the entire line it will release the hold on that line and move for next line.
Question : You have been given below dataset
And you will be using single @ sign to read this data, which statement is true regarding that?
1. Record which is hold by trailing @ sign will be released once end of the record is reached.
2. Record which is hold by trailing @ sign will be released once data step next iteration begins.
4. It will never release hold on the record automatically, you have to explicitly mark using @@ sign.
Correct Answer : Get Lastest Questions and Answer : Explanation: As soon as control return to the data step for next iteration control will be released for that line.
Question : You have been given below dataset
Each raw record has 3 observation, which of the following program can read it perfectly?
Correct Answer : Get Lastest Questions and Answer : Explanation: To read data from fixed fields which has multiple observation in single record, you can use double training @@ sign. All other options are wrong.