Hi all,
i have dought on auto-update scenario below I given an example plz look on it & plz suggest the solution in sas mainframe
{
I get 2 sequnce_number those are 421 & 422 while running the code it only picks one so by mistakenly it picks the second one so obesely it gets an abend while running next time it mostly picks the second one so I want in sas coding to that scenario kindly plz suggest some solution for this problem
}
thanks & regards
rohitkrishna
I neither see an example in what you wrote nor do I understand your question. Please post some Piece of code / log and describe what you want to do
- Cheers -
@rohitkrishna wrote:
hi oligolas
thanks for the quick replay
I'll make simplify my question
i had a transaction file in that every time one sequence number has to generate to run the code for the next job okay take like this
222 and 223 (2 files)
if I run 222 then the previous seqnum will be 221 but if it takes highest seqnum then it throughs abend similarly for the 223 so my question is how can I overcome that aband using sas code like do loops are retain give some suggestion
Are you trying to make something work that persists across SAS sessions? Such as I shut down SAS the process knows where to find the last value to start incrementing?
I can't tell what you are "looping through" though. A list of files? values? variables? datasets? libraries?
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.